where is the 'search' box located in the html?

where is the 'search' box located in the html?

rw1rw1 Posts: 42Questions: 0Answers: 0
edited September 2012 in General
hello,

i wanting to implement a solution where there is a tiny 'x' to the right of the search input field that, when clicked, clears the values that have been searched for.

to do this i am wanting to implement this solution:

http://jsfiddle.net/PJZmv/801/

(from stack exchange source: http://stackoverflow.com/a/6258628/1063287)

so i am wondering where the search box html is so that i could add this code as it seems to be dynamically created?

thanks!

Replies

  • allanallan Posts: 63,534Questions: 1Answers: 10,475 Site admin
    Easiest way is to use the HTML5 search type. The input DataTables uses can be modified with a single line: http://live.datatables.net/upowug/edit#javascript,html

    Allan
This discussion has been closed.