dynamic table in java script

Hi all , I have created dynamic table using java script which means that user can add new row to table , the new row contains two columns and inside each colum input text fied
Now , let's assume user add one row , so how could I read from input text and send vaules to servlet to save them in database

this is my page

I know how to read value from input text field in my servlet using request.getParameter(""); but the problem that the created input fields in javascript , so how to read from javascripts
plese help me guys , how I could read whatever user add , and send to database once submit button clicked
thanks a lot