-
Hello @deep !
I guess, you need to insert the blocks from the Ads search page to the Ads Home item.
-
It will require to have the custom JS / JQuery code which will hide this block before the submit of the search form.
-
I thought so and issue is that how Js will know if button is pressed ? i was not able to figure it out .. I was thinking that Page will refreshed and i can use any anchor to trigger Java Script and hide latest ads block. Any thoughts?
-
Yes, JQuery may "listen" the actions of the forms like:
$( "#search_form_id" ).on( "submit", function( event ) { alert( "Handler for `submit` called." ); event.preventDefault(); });