title: jQuery getting all input elements of type text where the id ends in "Source"
body: <p>I am trying to get all text boxes that have an id that ends in a particular string.</p>
  
  <p>So far I have tried</p>
  
  <pre><code>$("input[id$='Source']").each(function() {
  
  $("input[type=text][id$='Source']").each(function() {
  </code></pre>
  
  <p>and also</p>
  
  <pre><code>$("input[type=text] , [id$='Source']").each(function() {
  </code></pre>
  
  <p>none of these seem to work, could some one maybe point me in the right direction.</p>
  
  <p>I have tried clearing my web browsers cache just to make sure it was not caching any old code.</p>