Pass value with click?
Pass value with click?
Link to test case:
http://live.datatables.net/nugevixe/2/edit
Description of problem:
Hi everyone,
After many hours i give up
https://datatables.net/forums/discussion/69049/how-to-call-function-on-onclick-event-of-hyperlink-having-text-parameter
https://datatables.net/forums/discussion/53225/datatable-columns-call-onclick-function-with-data-0
I can't figure out how to insert the value of 'gebruikersnaam' in the alert. Since onclick (http://live.datatables.net/nugevixe/1/edit) is not possible is this the best way?
The goal is: when the value of 'status' is not equal to 'niet gestart', a function is called that performs an an ajax call, or in this test case just an alert with the value of 'gebruikersnaam'.
Can someone help me?
This question has an accepted answers - jump to answer
Answers
Look at this example to see how to get the row data.
The best option is with your 2nd test case. Something like this:
http://live.datatables.net/nugevixe/3/edit
Kevin
Hi Kevin,
Amazing! Thank you