title: Is there a concise jQuery selector for a list of specific input types (type='text', etc)?
body: <p>Is there a more concise way to do this?</p>
  
  <pre><code>// exclude all HTML 4 except text and password, but include HTML 5 except search
  var inputSelector = "textarea,input[type='text'],input[type='password'],input[type='color']," +
      "input[type='date'],input[type='datetime'],input[type='datetime-local']," +
      "input[type='email'],input[type='month'],input[type='number'],input[type='range']," +
      "input[type='tel'],input[type='time'],input[type='url'],input[type='week']";
  </code></pre>
  
  <p><strong>Note:</strong> I cannot use the .Not() function because this selector will be used in the .delegate() function. Also, it would be best if I could make the selector include future input types (HTML 6 >) by default.</p>
  
  <p><strong>Answer:</strong></p>
  
  <p>Here is what I have now. Much better than before. If it can be refined more please let me know.</p>
  
  <pre><code>// exclude all HTML 4 except text and password, but include HTML 5 except search
  var inputSelector = "textarea,input:not([type='checkbox'],[type='radio'],[type='button']," +
      "[type='image'],[type='submit'],[type='reset'],[type='file'],[type='search'])";
  </code></pre>
  
  <p>Note that it also includes input and textarea, which also mean future additions to the HTML spec will be included by default (to those who didn't think this was possible).</p>