title: Convert javascript getElementsByName to Jquery
body: <p>Could anyone please corret me with what I'm doing wrong on scenario below?</p>
  
  <p>I've got bunch of <code>document.getElementById</code> statement which I would like to convert in to JQuery <code>each</code> loop. Some reason it's not working, please see my jquery below:</p>
  
  <pre><code> $('.select').each(function () {
                $(this).addEventListener('touchstart', function (e) {
                    e.stopPropagation();
                }, false);
  
            });
  </code></pre>
  
  <p>In nustshell, i'm trying to attach <code>addEventListner</code> to all the <code>select</code> elements.</p>