⚠ In case you've missed it we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This forum is read-only and soon will be archived. ⚠


Custom search box

javascript flexigrid

  • Please log in to reply
1 reply to this topic

#1 rolo2012

rolo2012

    Member

  • Members
  • PipPip
  • 12 posts

Posted 25 September 2012 - 03:30 PM

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

#2 rolo2012

rolo2012

    Member

  • Members
  • PipPip
  • 12 posts

Posted 25 September 2012 - 03:40 PM

I figure out this, my code is:
$("#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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users