Filtering for a math project

Filtering for a math project

carloslara7carloslara7 Posts: 1Questions: 0Answers: 0
edited September 2013 in General
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

Replies

  • allanallan Posts: 63,383Questions: 1Answers: 10,449 Site admin
    > Is it possible to initialize the search input text on load with a string taken from the URL ?

    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
This discussion has been closed.