jQuery remove table row with non-standard id characters
html-table, jquery
Solution
I believe the reason why can be found here: What are valid values for the id attribute in HTML?
However I'm not so sure about a workaround other than the obvious (change your ids)
Problem
I am trying to remove a table row using jQuery like this ``` function removeTableRow(trId){ $('#' + trId).remove(); } ``` However this doesn't work if the id contains a character like "%", "^", "&", ",", etc.... Do you know if there is any work around for this?