clear search button
clear search button
just thought I'd post a solution I came up with for adding a clear search button to the search box:
http://live.datatables.net/equwes
In this example I've put a border around the clickable element that goes over the background X image so you can see where it is. The trick is getting it to line up with the X image, everything else I've culled together from this site.
http://live.datatables.net/equwes
In this example I've put a border around the clickable element that goes over the background X image so you can see where it is. The trick is getting it to line up with the X image, everything else I've culled together from this site.
This discussion has been closed.
Replies
Allan
"Uncaught TypeError: Cannot read property 'oPreviousSearch' of null " at the line oSettings.oPreviousSearch.sSearch = "";
Could you tell me what might be wrong?