Win XP Home 2002 sp2, IE7
From: [EMAIL PROTECTED]: Fri, 9 Mar 2007 17:03:55 +0100To: [EMAIL PROTECTED]:
Re: [Javawin] form serialize problemWhich OS, which navigator?
On Mar 9, 2007, at 4:46 PM, Mike Broadbear wrote:
Did not work.
Date: Fri, 9 Mar 2007 09:01:54 -0500From: [EMAIL PROTECTED]: [EMAIL PROTECTED]:
Re: [Javawin] form serialize problem
Try, Form.serialize( ‘country_form’)
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike
BroadbearSent: Friday, March 09, 2007 7:25 AMTo: [EMAIL PROTECTED]: [Javawin]
form serialize problem
Hi, I am having problems serializing a form: <div id="create_country_pane"
style="display:none;"><form
id="country_form"><table><tr><td>Name:</td><td><input type="text" name="name"
id="country_name_input" size="56"/></td></tr><tr><td>Population:</td><td><input
type="text" name="population" size="46"/></td></tr> </table><input
type="button" value="Create Country"
onClick="test('country_form')"/></form></div> <script
type="text/javascript">loadManagementControls()</script><script>function
test(form) {var queryParameters = $(form).serialize();$("outputSpan").innerHTML
= queryParameters; }
</script> When I select the "Create Country" button, the "outputSpan" innerHTML
becomes "name=&population=". (Of course, I have entered values into the text
inputs.) Why are the form field values being left out? (I have this working
properly in another page, but I can't find the difference.) ...Mike
Invite your mail contacts to join your friends list with Windows Live Spaces.
It's easy! Try it!
Get news, entertainment and everything you care about at Live.com. Check it
out!
_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com
_________________________________________________________________
Connect to the next generation of MSN Messenger
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com