Viewing 1 replies (of 1 total)
  • Plugin Author ka2

    (@ka2)

    It’s good work inquiries again!

    I do not know a legitimate answer to your question, but will answer hasten.

    Instead of the click event of the search button, if you want to use a key press event, please add the following JavaScript.

    $('input[name="search_key"]').keypress(function(event) {
      if (event.which == 13) {
        event.preventDefault();
        $('.controller-form input[name="mode"]').val('list');
        $('.controller-form input[name="action"]').val('search');
        $('.controller-form').submit();
      }
    });

    Search process is done by submitting after added each “search” to “action”, “list” to “mode” of the hidden-forms in form that class name is “.controller-form”.

Viewing 1 replies (of 1 total)
  • The topic ‘search button’ is closed to new replies.