/ Published in: jQuery
One must escape "special characters" in id names using two backslashes.
Expand |
Embed | Plain Text
// incorrect $('#my.id.name').val(); // correct $('#my\\.id\\.name').val();
You need to login to post a comment.
penguin999 on 04/16/09
1 person have marked this snippet as a favorite
One must escape "special characters" in id names using two backslashes.
// incorrect $('#my.id.name').val(); // correct $('#my\\.id\\.name').val();
You need to login to post a comment.