Filtering for a math project
Filtering for a math project
carloslara7
Posts: 1Questions: 0Answers: 0
I have an AIR application which logs to a mysql database. It teaches math and logic to 3-5 year olds, and it does it well :) kids love it.
DataTables beautifully displays the results of the levels being passed.
Is it possible to initialize the search input text on load with a string taken from the URL ?
I tried putting a hardcoded string on the 'value' inside the search input div and nothing happened. I feel this is not the best place to do it.
The code i am refering to is inside jquery.dataTables.js, inside the function : _fnFeatureHtmlFilter
DataTables beautifully displays the results of the levels being passed.
Is it possible to initialize the search input text on load with a string taken from the URL ?
I tried putting a hardcoded string on the 'value' inside the search input div and nothing happened. I feel this is not the best place to do it.
The code i am refering to is inside jquery.dataTables.js, inside the function : _fnFeatureHtmlFilter
This discussion has been closed.
Replies
Use the oSearch option to specify an initial search. You'd use the window.location option in Javascript to get information from the url.
Allan