I want to hide a specific div element, the name of which contains $ sign, but I get the following error in firebug:
Syntax error, unrecognized expression: $Frame
jQuery code:
$(document).ready(function() {
$("#Button1").click(function() {
$("#ctl00_content_TabContainer1_TabPanel1_PdEnd$Frame").hide();
})
What’s wrong??
If “$” is legitimate in your selector string you need to use selector special character escape rules
http://api.jquery.com/category/selectors/
Try:
I don’t do a lot in asp but that “$” sure looks supicious