Suppose of the following html:
test1 test2
Now, the following wou
you have to use \ when using special characters
var test1 = $('#test\\#1');
http://bugs.jquery.com/ticket/4944