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?

Edit
Report