title: Using Attributes End With to delete elements
body: <p>I have been trying to implement the attributeEndsWith selector to delete multiple elements with Ids ending with "_vb ("[id$="_vb"]"). Unfortiunately the code I have below doesnt work. Can someone help me to correct this code please?</p>
  
  <pre><code>&lt;script type='text/javascript'&gt;
  $(document).ready(function(){
  
   var elem = document.getElementById('div[id$="_vb"]');
  elem.parentNode.removeChild(elem);
  return false;
  
  });
  </code></pre>
  
  <p></p>