title: Serialize() not working in Internet Explorer
body: <p>This works fine in FF, Chrome, Safari, but not in IE8</p>
  
  <pre><code>var z = $($('form')[0].elements).not("#x, #y").serialize();
  </code></pre>
  
  <p>Field names and values of 'x' and 'y' are omitted from the serialize() output string.</p>
  
  <p>ID and name attributes are the same for each element, <code>name="x"</code>, <code>id="x"</code> for one, <code>name="y"</code>, <code>id="y"</code> for the other.</p>
  
  <p>But in IE the serialized form data always returns the name and value for element <code>id="x"</code> and <code>id="y"</code>, which I need to exclude as part of the form validation.</p>
  
  <p>Is this a known bug in IE? I can find no specific solution to this problem online.</p>
  
  <p>Thanks in advance</p>