Hi,
It's a bit of a wild guess, and probably not the only solution, but one way I'm thinking about is :
In code, something like this might do :
Form.serializeElements(
// We need the list of all elements
// that are not rejected by the inner function
$('YOUR_FORM_ID').getElements().reject(function (formElement) {
// this function must return :
// - true for an element that you want to keep
// - false for an element you don't want to keep (you have to return false for your buttons, for instance)
if (formElement.type == 'radio' || formElement.type == 'checkbox') {
return false;
} else {
return true;
}
})
);
And the output (which you'll want to capture into a variable, of course), is somthing like this :
"lol=15&dt=0"
And/or you can use the second, optional, parameter of Form.serializeElements
if you want to get a Hash / an Object, instead of a query string.
Note : For this example, I didn't filter out the elements you specified : the form I used to test didn't have exactly what you were asking for, so I filtered out some other stuff...
So, you will have to adapt the condition in the function.
Hope this help ; have fun !