Home Forums WoodMart support forum Search without clicking on the search icon

Search without clicking on the search icon

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #293486

    lenamtl
    Participant

    Hi,

    About the top search, is there a way so the search trigger is done once an item from the dropdon is selected.
    At the moment, we need to select item then click on the search icon to display it’s not user friendly.

    Thanks

    #293526

    Artem Temos
    Keymaster

    Hi,

    Please, describe to us your problems in a bit more details. Attach some screenshots and provide us with a list of steps on how to reproduce them on your website.

    Thank you in advance.

    #293735

    lenamtl
    Participant

    Hi,

    Using the top search see attached file.

    I would like to have the trigger on the item selection not on the click of the button

    Actual :
    Select an item from the list (nothing happend)
    Click on search icon (the page get updated)

    Nice to have :
    Select an item from the list (the page get updated)
    So no need to click on the button…

    Attachments:
    You must be logged in to view attached files.
    #293853

    Artem Temos
    Keymaster

    Hello,

    We have tested this on our demo and it is actually the way it works by default. Could you please send us a link where it doesn’t work correctly?

    Kind Regards

    #294003

    lenamtl
    Participant

    You don’t understand even on your demo we need to click on search icon
    click is the trigger I would like the select category as the trigger

    can you point me the trigger code ?

    #294062

    Artem Temos
    Keymaster

    Sorry, but we are confused now. Are you talking about search results or categories dropdown? Please, write step by step algorithm how do you want to make it work.

    #294129

    lenamtl
    Participant

    Here is a print screen

    At the moment we need to
    select = Step 1
    click = step 2

    I would like the trigger to be on step 1 so we don’t need to click on icon step2

    Attachments:
    You must be logged in to view attached files.
    #294238

    Eric Watson
    Participant

    Hello,

    Please add this code to the Theme Settings > Custom JS > On the document ready:

    jQuery('.wd-search-cat ul a').on('click', function(e) {
    	var $this = jQuery(this);
    	setTimeout(function() {
    		$this.parents('form').trigger('submit');
    	}, 100);
    });
    

    Best Regars

    #294514

    lenamtl
    Participant

    This is working fine thanks

    #294628

    We are always happy to help you, write to us when you have any difficulties or issues with our theme.

    We would be grateful for 5 stars rate on http://themeforest.net/downloads in case you are satisfied with our theme and customer service

    Thank you in advance

Tagged: ,

Viewing 10 posts - 1 through 10 (of 10 total)

The topic ‘Search without clicking on the search icon’ is closed to new replies.