I have a requirement where if I click on sharepoint default search, so before searching I need to run a JQuery code which would append some parameter to the search.
Please suggest how this can be done.
I have a requirement where if I click on sharepoint default search, so before searching I need to run a JQuery code which would append some parameter to the search.
Please suggest how this can be done.
Add (standard SP technology since SP2010) UserCustomActions to the Site Collection
Load jQuery
Load your script that always attaches to the search-box