tags:

views:

22

answers:

2

I have a cookie which has many name value pairs and I want to test for a name value pair. If it exists I need to display the name and the value. If the name value pair matches the variable I define, then the href value has to be updated throughout the page from say "http://www.google.com" to "http://test.com".

How I can get this done?

+1  A: 

See here: http://plugins.jquery.com/project/cookie

org.life.java
A: 

The answer to this question will be helpful.

Vincent Ramdhanie