How to get value Input Element based on id or name in same td ?
How to get value Input Element based on id or name in same td ?
Addison
Posts: 13Questions: 4Answers: 0
Hello, Please Help Me
I want to get <input> value from different id/ name <input> in same <td>.
Here the link to the page :
http://live.datatables.net/hukoceme/1/edit
In this example, console.log showing the <td> <input> value after press enter in Calculator <input>.
Thank you
This discussion has been closed.
Answers
Oh, Sorry. I figured it.
The name in <input> cannot used qty[1].
Before:
<input name="qty[1]" value="2"> (Not working)
After:
<input name="qty_1" value="2"> (It's work)
Thank you. Datatables Forum