-
Ajax Tabs - Cookies
1) Script Title:
Ajax Tabs Content Script
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamici...tent/index.htm
3) Describe problem:
When a user clicks on a tab (with persistence enabled) the javascript updates the session cookie with which tab has been clicked on.
Can anyone give me the basic javascript to allow me to update that same cookie from a different page, to set the cookie back to the first tab.
I have very little experience with javascript so i'm hoping this is an easy one.
-
-
Just worked out I'm not going to be able to do this with javascript,
Could any give me a PHP script to update this cookie?
-
-
Don't worry, i sorted it.
it was as simple as:
PHP Code:
setcookie("maintab", 0);
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks