Jump to content

set focuson tab 3 in clientareaproductdetails.tpl


mathaw01

Recommended Posts

i dont know how well versed you are with php and jquery. and im also not sure if your talking about jquery tabs or not.

 

But if i were you id use:

header("Location: http://blah.com/billing/?success=true");

 

or something similar. That value doesnt have to be the same. Just something you can check for. This goes in the php file that loads that template.

 

And then id use the location object in javascript to read the query string upon page load. And if that value is there. Then use jquery(granted you are using jquery tabs) and use the selection methods on here

 

http://api.jqueryui.com/tabs/?rdfrom=http%3A%2F%2Fdocs.jquery.com%2Fmw%2Findex.php%3Ftitle%3DUI%2FAPI%2F1.8%2FTabs%26redirect%3Dno

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated