With jQuery, how can I select an element with a metacharacter in its name?
1 answer
From jQuery docs :
If you want to use any of the metacharacters (#; &, + * ~ ': "! ^ $ => | / @) As the literal part of the name, you should avoid the double backslash character: \. For example, if you have an input with the names name = "[]", you can use the $ selector ("Login [name = names \ [\]]").
So this is the way to do this:
var e = $('fb\\:est')
+9