How can I manipulate the jquery tab, for example when a submit form is triggered in tab2 then the page selected tab should be the tab2 not the tab1?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you use jQuery UI tabs, check their
selectedoption. Docs.So, in your
phpcode you must set this option on your tabs, like so:or so, after tabs creating (if creation code in separate file, for example):
Also, you can emulate clicking by tab using: