how to insert multiple rows from a html table and insert to database using jquery

how to insert multiple rows from a html table and insert to database using jquery

Hi All,

In my application ,i want to add multiple rows from a table to database by a single click using jquery.

following is sample table
  1. <table>
    <tr><td>EmpId</td><td>Ename</td><td>Dept</td><td>Salary</td></tr>
    <tr><td>1000</td><td>Arun</td>Civil<td>10000</td></tr>
    <tr><td>1001</td><td>Kiran</td>Accounts<td>5000</td></tr>
    </table>

when a button is clicked i want to save these 2 records into database.
just like fetch values of 2 rows and add in an array and pass that value to another page
and executes the code there

how it is possible using jquery.

Regards
Baiju