Id selector
Id selector
jQuery does not work with elemets, that has $ sign in their id.
Example: if I have <div id="ctl00$mydiv"></div>, then $("#ctl00$mydiv").length will be zero.
I suggest to append $ sign in line 38:
where
quickExpr = /^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/
change it to
quickExpr = /^[^<]*(<[\w\W]+>)[^>]*$|^#([\w$-]+)$/