title: What is the difference between the selectors #id and [id$='id']?
body: <p>What is the difference between two statements:</p>
  
  <pre><code> $("span[id$='id']").text(var);
    // And
   $("#id").text(var);
  </code></pre>
  
  <p>HTML code is : <code>&lt;span class="normal11" id="id"&gt;&lt;/span&gt;</code></p>