Filtering for a math project
Filtering for a math project
![carloslara7](https://secure.gravatar.com/avatar/842f6e200538ff0cf1e1cd9e77e4cc69/?default=https%3A%2F%2Fvanillicon.com%2F842f6e200538ff0cf1e1cd9e77e4cc69_200.png&rating=g&size=120)
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