title: escape dot in javascript
body: <p>jQuery selector can't select an ID if it contains a <code>.</code> in it.<br>
  in my application ID name generates dynamically from usernames.</p>
  
  <p><strong>How can I escape any special character from tag IDs</strong> so that jQuery selector works well?</p>
  
  <p>for example, ID1: <code>This.Is.ID.1</code>
  ID2: <code>This.is.Another.ID</code></p>
  
  <p>Can anyone help me.</p>
  
  <p>Thanks in advance.</p>