Posted By

omerta83 on 07/08/10


Tagged

javascript jquery


Versions (?)

Accessing elements with IDs containing special characters


 / Published in: JavaScript
 

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

Report this snippet  

You need to login to post a comment.