[jQuery] Trouble serializing a form

[jQuery] Trouble serializing a form


Hi,
I have a form on my page with id="bindingForm" and
name="bindingForm". I am using the latest version of JQuery 1.2.6. I
am trying to serialize a form like so
var paramStr = $('#' + formId).serialize();
where formId contains the value "bindingForm". Unfortunately,
"paramStr" contains the value "undefined" afterwards. Any advice on
where I'm going wrong?
Thanks, - Dave