I am making a backend with GC one for page.I want to add in my site a top search box like the one of this forum that work as filter(for all fields) in the grocery crud of the page. How i can start to do this javascript. Thanks
Custom search box
Started by rolo2012, 25 September 2012 - 15:30 PM
- Single Page
Posted 25 September 2012 - 15:30 PM
Posted 25 September 2012 - 15:40 PM
I figure out this, my code is:
where in $("#search_text").val("The filter"); I set the value of the top search box
If exist a better solution I apreciate
$("#search_text").val("The filter");
$("#search_field").val("");
$("#crud_search").trigger("click")
where in $("#search_text").val("The filter"); I set the value of the top search box
If exist a better solution I apreciate