When I insert the text "()" inside the :contains() Selector, I am getting the following error
Uncaught Syntax error, unrecognized expression: "X(")
I will give my sample
$("div#list li:contains("X(")").remove();
How to overcome this?
EDIT : I am using jquery-1.4.1.