Support » Plugin: WP Store Locator » Search zipcode redirect in location page trigger Click event button

  • Resolved Urmil Patel

    (@urmilwp)


    I have create header bar search for zipcode redirect in location page
    we have POST data set search value and after tigger in click button but not working.

    $(".find-location-btn").on("click", function(){
     console.log('test');
    setTimeout(function() {
    	console.log("clicks1");
          $( "#wpsl-search-btn" ).trigger( "click" );
    }, 250);
    });
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    Support here isn’t for customizations or custom code, but only for normal default functionality of the plugin.

    I would check for any errors in the browser console and make sure that if you try the click with function itself, then it does work.

    Thank you for @tijmensmit

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Search zipcode redirect in location page trigger Click event button’ is closed to new replies.