Is difficult to understand how you intend to trigger the search without some infos. Anyway just to give you an hint:
jQuery("#your_custom_widget").closest('form').trigger('submit'); On Fri, Apr 26, 2019 at 12:22 PM Andrea Fae' <and...@gmail.com> wrote: > They are the standard buttons "Search" and "Reset". I'd like from > javascript in the html view to execute "Search" by code. > Thank you > > Il giorno venerdì 26 aprile 2019 00:05:39 UTC+2, João Matos ha scritto: >> >> You don't have the standard buttons, but have a search button created by >> you? >> >> >> quinta-feira, 25 de Abril de 2019 às 15:21:41 UTC+1, Andrea Fae' escreveu: >>> >>> I create a custom search, so not standard field with "Search" and >>> "reset" button standard. How to click the button "Search" programmatically? >>> thank you >>> >> -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Massimiliano -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.