Jump to content

serialzing a form


jimfog

Recommended Posts

Take a look at this fiddle here. Click edit and then click the plus sign...a new input is added and it;s name attribute value has a different form(form[1]...) than all the other(filled) inputs....

The reason for this is that this only new input gets to be serialized and NOT the others.

Imagine the following though.

The user goes to edit some of the currently filled inputs....the way the name attribute value it is set,serialization cannot take place.

So what could I do in such a case...when editing inputs and not just adding new ones.

Various things come into my mind about it....but I want to hear what you have to say about it.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...