Home › Forums › WoodMart support forum › open top menu search box programmatically open top menu search box programmatically This topic has 3 replies, 2 voices, and was last updated 6 years ago by Artem Temos. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts July 2, 2020 at 12:17 pm #208168 shukiParticipant Hi, how can i open top menu search box programmatically ? i tried jQuery('.search-button a').click(); but it wont work Attachments:You must be logged in to view attached files. July 2, 2020 at 12:39 pm #208176 Artem TemosKeymaster Xtemos team Hello, Here is a correct JS code snippet for this jQuery('.whb-main-header .whb-search a').click(); Kind Regards July 2, 2020 at 2:07 pm #208212 shukiParticipant Thanks, it needs to be placed inside jQuery(window).load(function($) { }) for it work July 2, 2020 at 2:08 pm #208213 Artem TemosKeymaster Xtemos team Yes, sure. Or you can use our custom JS field in Theme Settings. Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to create new topics. Login / Register