/ Published in: jQuery
![](/img/icon_sav.png?v3)
One must escape "special characters" in id names using two backslashes.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// incorrect $('#my.id.name').val(); // correct $('#my\\.id\\.name').val();
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)