Displaying 1 result from an estimated 1 matches for "profileformid".
2006 Apr 22
2
Form.serialize problem
...me what''s
supposed to be the serialized line of values but it always shows
nothing. Can somebody show me what I''m doing wrong? Thanks in advance.
function submitprofile() {
var url = "/profile/submitprofile.html?";
var formvals = Form.serialize(''profileformid'');
alert("f - "+formvals);
new Ajax.Request(url, {method: ''post'', parameters: formvals,
onComplete: confirmform});
}
<form name="profileformname" id="profileformid"
onsubmit="submitprofile();return false;">
First...