php - Jquery .serialize isn't including the FIRST SET at INDEX 0 -


My jquery looks like this:

 as  var = $ ("Input [Name = []] as ") in sequential order. Var BS = $ ("Input [name = BS []]"). Serialize (); Var cs = $ ("input [name = cs []]"). Serialize ();  

But this index is not the first serial set on 0.

For a simple solution, consider giving a token or placeholder value before you serialize the field You can test on the server, for example:

  $ ('form & gt;: input: blank'). Well ('token string to point to the blank'); Warning ($ ('form') in sequence ().);  

Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -