TypeError: oSettings is null , oTable.fnGetNodes().serializeArray()

TypeError: oSettings is null , oTable.fnGetNodes().serializeArray()

vulkoingimvulkoingim Posts: 4Questions: 0Answers: 0
edited March 2013 in General
I am trying to get the selected check boxes as shown in this example:[code] http://www.datatables.net/release-datatables/examples/api/form.html[/code]
With the addition that i am loading my data via Ajax. Basically i have a drop down menu that executes an AJAX post request when an item is selected. Everything works fine the first time and selecting the check boxes returns the correct values. However if i do not refresh the page and select a new item from the drop down menu and then try to get the values of the selected check boxes i get an
[code]TypeError: oSettings is null [/code]
I have tried to illustrate this in the fiddle attached below as best as i can. When you click the 'TEST' button you will see the table, checking some of the boxes and clicking select will log the data in the console. Clicking 'TEST' and 'SELECT' again will reproduce the error i am describing.
[code]http://jsfiddle.net/vulkoingim/ztTsy/[/code]
This discussion has been closed.