To use any of the meta-characters ( such as !”#$%&’()*+,./:;<=>?@[\]^`{|}~ ) as a literal part of a name, it must be escaped with with two backslashes: \\. For example, an element with id=”foo.bar”, can use the selector $(“#foo\\.bar”).
Example:
$("#news_image\\["+no+"\\]")
Reference: Special Characters In Selectors
I just like the helpful info you supply in your articles.
I will bookmark your weblog and check again right here frequently.
I am fairly certain I’ll be told many new stuff right right here!
Good luck for the next!