jimfog Posted March 22, 2018 Share Posted March 22, 2018 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 More sharing options...
justsomeguy Posted March 22, 2018 Share Posted March 22, 2018 Why only submit part of them? Why not submit everything and figure out on the server what changed? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now