I have div's with ids that are pulled from a database. These ids sometimes contain parentheses and this causes the JQuery selector to not work. What can I do?
Here is an example of what I am talking about:
https://jsfiddle.net/2uL7s3ts/1/
var element = 'hello (world)';
$('#' + element).hide();