title: IE ignoring jQuery .val()
body: <p>I have the following bit of jQuery for adding a "clear" button to the end of a search form:-</p>
  
  <pre><code>$('#search-tools input:last').after($('&lt;input&gt;',{
    'class': 'search-clear'
    , 'val': 'Clear'
    , 'type': 'submit'
    , 'click': function() {
      // do something
    }
  }));
  </code></pre>
  
  <p>This works well in all browsers except IE; in IE the input button is not getting the value "Clear" set and instead displays "Submit query". Am I setting val incorrectly or is this a known IE issue with jQuery?</p>