I am experiencing a problem with the Form.Serialize in Firefox 3.5. (I
upgraded from Vers 2, because it wasn't working either!) It's working
fine in Internet Explorer 7, but in Firefox it just hangs.
I've tried this with prototype version 1.6.0.2 and 1.6.0.3. Same
results.
function queryRecord()
{
// document.write(Hit Query record);
// var params = Form.serialize('contact_form');
var params = $('contact_form').serialize();
// document.write(params);
var myAjax = new Ajax.Updater('data_entry',
'contacts_db_select.php',
{method: 'get', parameters: params});
}
The commented out lines are my attempts at de-bugging. I get the
expected results in IE, nothing in Firefox.
I'm guessing it's the Form.Serialize that's the issue, because it
never gets past that point in Firefox.
My form is pretty basic:
form enctype=multipart/form-data name=contact_form method=post
. some fields .
input type=button value=Save Contact onClick=insertRecord(); /
input type=button value=Clear onClick=newRecord(); /
input type=button value=Query onClick=queryRecord(); /
/form
The other buttons are coded similarly, and have the exact same issue.
Any assistance you could give me would be greatly appreciated.
luellaj99
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~--~~~~--~~--~--~---