Skip to main content

Bug Tracker

Side navigation

#8840 closed bug (invalid)

Opened April 11, 2011 10:16AM UTC

Closed April 29, 2011 07:55AM UTC

Form Serialize

Reported by: anonymous Owned by: anonymous
Priority: undecided Milestone: 1.next
Component: ajax Version: 1.5.2
Keywords: Cc:
Blocked by: Blocking:
Description

I have a form

<form id="formpost" onsubmit="return false;" name="formpost">

<input id="id" type="hidden" value="0" name="id">

<input id="page" type="hidden" value="servicecompany" name="page">

Service name:<input type="text" value="" name="name">

<br>

Contract:<input type="text" value="" name="GDContract">

<br>

<input type="button" onclick="saveForm();" value="Save">

</form>

if FireFox 4.0

$('this').serialize()

result is

id=0&page=servicecompany&name=6&GDContract=6&id=0&page=servicecompany&name=&GDContract=

Attachments (0)
Change History (3)

Changed April 11, 2011 01:49PM UTC by dmethvin comment:1

owner: → anonymous
status: newpending

Can you provide a test case in jsFiddle please?

Changed April 15, 2011 04:59AM UTC by timmywil comment:2

component: unfiledajax

Changed April 29, 2011 07:55AM UTC by trac-o-bot comment:3

resolution: → invalid
status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!