prevent cycle from returning to first slide on submit

i have a cycle with pager in a custom made plugin on wordpress the problem is

i have page with 2 tabs

first one is waiting users second is accepted users and there is a search filter in this tab

 <ul id="pager">
     <li><h2><a href="#">Pending Requests</a></h2></li>
     <li><h2><a href="#">Approved & Filter</a></h2></li>
 </ul> 

when i fill the search and click submit it takes me back to first slider how can i make it return to the same tab (which is the second tab) after submit

Solutions

 <ul id="pager">
     <li id="pendingrequests"><h2><a href="#">Pending Requests</a></h2></li>
     <li id="approvedfilter"><h2><a href="#">Approved & Filter</a></h2></li>
 </ul> 

please change the post or get action url to current_URL#approvedfilter

Similar questions

FlexSlider carousel slides all images in first slide - WordPress
I am using the Nictitate theme my WordPress website. The theme includes a client widget that simply displays client logos. I noticed that FlexSlider is being used on other widgets within the theme and so added some code to get the client logos in a carousel. However, I cannot get this working properly. All the logos are grouped together in the firs...
How to the remove first slide in mobile version using bootstrap carousel for wordpress website
I have created wordpress website and implemented bootstrap carousel there is no issue in this. I want to hide the first slide using bootstrap carousel in the mobile version. If i use jquery first() and eq() selector the entire slider is blank other sliders are not working. I have added script but its not working please any on help me. Reference Sit...
Slider is stuck on the first slide
I have a slider in the front page: https://unicarmodel.com/ The slider is stuck on the first slide. I can see there is a problem with jquery on the console, but how to fix it? It worked before... Thanks.
Revolution Slider show slide only on first visit
is there an option in slider revolution that it shows me the frist slide only at the first visit? Was looking for it everywhere, but couldn't find it... My Plan is, that a first visitor gets to see slide 1 and 2 and after coming back, only slide 2. The Slider Site is my Home. So if that is not possible. How do i redirect a recurring user to another...
BuddyPress Forum - how to display latest posts first - ordered by date - newest posts first, not the oldest posts first?
Buddy Press forum is displaying user posts in discussion topics, by showing the oldest posts first. I would like to display the newest, latest user posts on any topic first. It doesn't make sence to see posts from 3 months ago shown on top and having to scroll down to search for the most recent posts. I checked Word Press documentation and tried to...
How Can I Check First Few Characters, Add Characters After First Few if First Few Match x in PHP?
I want to perform a three step process: How can I accomplish this in PHP? Actual Use Case: I am using WordPress and grabbing the_content() and moving it into a variable $content. I want some characters to appear before the text in $content, but WP auto adds <p> tags (if wpautop is on, and I'd like to avoid turning it off), which means the cha...

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.