get all values from each row
get all values from each row
Ghost108
Posts: 19Questions: 7Answers: 0
in DataTables
Hello
here is my test example:
http://live.datatables.net/hidukase/1/edit?html,js,output
I would like to get all input values (for example as an array) after a click on the button "Save values"
Can anybody tell me, how I can realize it?
Thank you !!
Answers
You would do something like this:
You could need to access the
val()
of theinput
elements, but they're in the returned array.Colin
sorry sorry sorry ! but how can I get the values of the input fields?
With your code I get this array:
I tried this but without success:
Okay I guess I found the way :
console.log( $(myArray[0][3]).val())