You are viewing limited content. For full access, please sign in.

Question

Question

javascript trigger pagination click

asked on December 4, 2019

Is there a way to use javascript to switch which pagination tab is active?

 

Use Case: I am currently using an alert to display information submitter has not entered and when they click on OK I would like to take them to the pagination tab where they can update that information instead of leaving them on the last pagination tab.

0 0

Replies

replied on December 4, 2019

Try using .click() on your tab. 

For example, $('li[page="q1"]').click();

Of course the exact selector will likely be different for your form but you can definitely mimic a user click action like this

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.