Displaying 1 result from an estimated 1 matches for "submitprofile".
2006 Apr 22
2
Form.serialize problem
...'m missing something dumb but I cannot get Form.serialize to
work. I have an alert in the function as a debug to show 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=&...