Getting the value from textbox in table
Getting the value from textbox in table
Hi,
I have a dynamically created table that I am using with DataTables and TableTools - it works great except I have an input textbox that I need to get the value out of when clicking a button, but it just gives me the html, e.g. <input size="3" type="text">
I have created a DataTables live to recreate the issue, but bizarrely I can't get the selecting of the row to work even though it does for me - see here http://live.datatables.net/nexeqesa/1/ - this at least gives an idea as to what I'm trying to do I hope.
Any help would be great, been struggling with this for a while now.
Many thanks
leddy
Answers
Just worked out how to use the debugger http://debug.datatables.net/opetam
And this is the code for the creation of the table:
// add results to the table
Finally worked it out! :)
Spoke too soon :( On testing the selected indexes are incorrect and I'm not sure why - going to have to leave this now as i've spent far too much time on it - if anyone can shed any light on what's happening here (or even help me get the datatables live code working so that the rows are multi-selectable), i would really appreciate it
Many thanks
leddy
Anyone? Still can't get this working :(