title: JQuery Wildcard for using atttributes in selectors
body: <p>I've research this topic extensibly and I'm asking as a last resort before assuming that there is no wildcard for what I want to do.</p>
  
  <p>I need to pull up all the text input elements from the document and add it to an array. However, I only want to add the input elements that have an id. </p>
  
  <p>I know you can use the \S* wildcard when using an id selector such as $(#\S*), however I can't use this because I need to filter the results by text type only as well, so I searching by attribute.</p>
  
  <p>I currently have this:</p>
  
  <pre><code>values_inputs = $("input[type='text'][id^='a']");
  </code></pre>
  
  <p>This works how I want it to but it brings back only the text input elements that start with an 'a'. I want to get all the text input elements with an 'id' of anything.
  I can't use:</p>
  
  <pre><code>values_inputs = $("input[type='text'][id^='']"); //or
  values_inputs = $("input[type='text'][id^='*']"); //or
  values_inputs = $("input[type='text'][id^='\\S*']"); //or
  values_inputs = $("input[type='text'][id^=\\S*]"); 
  //I either get no values returned  or a syntax error for these
  </code></pre>
  
  <p>I guess I'm just looking for the equivalent of * in SQL for JQuery attribute selectors.
  Is there no such thing, or am I just approaching this problem the wrong way?</p>