• Hi, I have a website with a plugin that call a modal layer that contain the Ajax Search.

    The layer come up when I click on the website menu that have a ID “#menu-item-686” and, when clicked, it call this layer shortcode:

    http://#ulp-WAfaX6HsaP1aniIW

    The Layer contain the Ajax Search that does not have the focus on the input field.

    I need to focus the ajax search input field.

    I’m not able to obtain this focus, please can someone help me?

    Thank you
    -Enrico

    https://wordpress.org/plugins/ajax-search-lite/

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

    (@wpdreams)

    Hi Enrico!

    You can try to create a custom script to move the input focus on the search when clicking the menu item:

    jQuery(function($){
      $('#menu-item-686').click(function(){
         $('.probox input.orig').focus();
      });
    });
Viewing 1 replies (of 1 total)

The topic ‘Input Focus on click’ is closed to new replies.