/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$("$some[id]").show(); // won't work for this type of ID $("$some\\[id\\]").show() // works fine for the ID: some[id]
$("$some[id]").show(); // won't work for this type of ID $("$some\\[id\\]").show() // works fine for the ID: some[id]