Return to Snippet

Revision: 28460
at July 8, 2010 17:29 by omerta83


Initial Code
$("$some[id]").show(); // won't work for this type of ID  
$("$some\\[id\\]").show() // works fine for the ID: some[id]

Initial URL

                                

Initial Description

                                

Initial Title
Accessing elements with IDs containing special characters

Initial Tags
javascript, jquery

Initial Language
JavaScript