2013年12月10日星期二

js move up and down the table , how to save the order after moving into the database ?

As stated in the jsp page , check out the data from the database is displayed in the table , moving up and down through the js control data, and how to save the database in order to move in after the display data according to the order the next time after moving to see ? ?

------ Solution ------------------------------------ --------
how in order to get ?  

There you table tr td ah.
iteration tr Well you get the value of the corresponding tr , spliced ​​into the data transmitted back
------ For reference only -------------- -------------------------
in order to obtain data using js , a good combination of data submitted to the background
----- - For reference only ---------------------------------------
how the press order to obtain ?
------ For reference only -------------------------------------- -
how in order to get ?          
  
There you table tr td ah.   
iteration tr Well you get the value of the corresponding tr , spliced ​​into the data transmitted back  
ah this feasible

没有评论:

发表评论