Generate Query String with jQuery from simple fields?
<p>I've got some REALLY simple fields, like a checkbox for yes/no's and some text inputs for width/height etc.</p>

<p>I'd like to have users check a box for a feature and define their sizes, so if they check <code>&lt;input type="checkbox" id="header" name="header" value="true" /&gt;</code> then I want to add <code>&amp;show_header=true</code> to the query string.</p>

<p>I've got a very <a href="http://jsfiddle.net/demchak_alex/AYQyB/2/" rel="nofollow">basic fiddle set up</a>, but I can't seem to get it to work properly. Like, if you check the box, then fill in the value, but uncheck the box, it starts to repeat things and I end up with <code>&amp;show_header=true&amp;show_header=true&amp;show_header=true&amp;show_header=true&amp;show_header=true</code></p>
