I’m using JQuery UI tabs where I have several forms within tabs. What I want is to Retain Tab Selection even after Form Post.
I don’t want to use cookie.js
You can see my code here at jsbin
How can I achieve this using other way?
Thanks
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.
The easiest way will be to ajax post the form. Something like this will do:
If you aren’t allowed to use Ajax, then you can pass the tab information in the url:
Then you in page load you can select a specific tab:
You will need to generate the tab above with server core or use something like this to retrieve it through javascript.