Press Button on Page Load

This is a handy trick if you’re working with ajax or dynamic elements that are using a filter, such as Ultimate WordPress Query Search Filter.

jQuery(document).ready(function(){
      jQuery('#name_of_link').click(); 
});

Leave a Reply

katherine as a flat graphic icon

About Me

I’m an African / Ojibwe First Nations Web Developer living in Winnipeg, Manitoba.

Visit the Tips and Blog to see what I’m working on.