I am trying to exclude an input by name (it is a hidden input holding my nonce)
The following question is almost what I am looking for:
How do I use jQuery
In my situation, this worked fine:
$("fieldset").not(".tasks-container").serialize()