title: Wildcards in jQuery selectors
body: <p>I'm trying to use a wildcard to get the id of all the elements whose id begin with "jander". I tried <code>$('#jander*')</code>, <code>$('#jander%')</code> but it doesn't work..</p>
  
  <p>I know I can use classes of the elements to solve it, but it is also possible using wildcards??</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  
    var prueba = [];
  
    $('#jander').each(function () {
      prueba.push($(this).attr('id'));
    });
  
    alert(prueba);
  
  
  });
  
  &lt;/script&gt;
  
  &lt;div id="jander1"&gt;&lt;/div&gt;
  &lt;div id="jander2"&gt;&lt;/div&gt;
  </code></pre>