multiple selectors using widlcard jquery
<p>I need to serialize  using jquery and want to exclude 2 hidden input types from that.</p>

<p>The hidden elements are </p>

<pre><code>&lt;input type="hidden" name="hdnScrollPosX" id="hdnScrollPosX" value="" /&gt;
&lt;input type="hidden" name="hdnScrollPosY" id="hdnScrollPosY" value="" /&gt;
</code></pre>

<p>When I serialize I dont need these elemets to be considered. I am able to exclude one but not 2.</p>

<pre><code>$('#frmMain').find('input[name*= hdnScrollPos]').serialize();
</code></pre>

<p>This will select these 2 elements but I want the NOT of these to exclude them.</p>

<p>I searched but could not find a way to exclude using wildcard</p>