get data on row selection
get data on row selection
user_09
Posts: 1Questions: 1Answers: 0
Link to test case:
Debugger code (debug.datatables.net):
error message - Cannot set property 'value' of null
HI , I want to display the data on a row selection .The code for selecting the row is working fine , and for getting the data I don't want to use console.log as I am using visual studio code .I want to display the code on the output window .Is there any other way I can use to display the data of a selected row ?
Thanks in advance .
This discussion has been closed.
Answers
If you are using the Select extension, you can use events - see example here.
Otherwise, what you have looks fine. We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Colin
Is the element with the id of
Id
a text field? If not see this SO thread for the answer:https://stackoverflow.com/questions/10694661/document-getelementbyid-value-return-undefined-in-chrome
Kevin