1

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?

teedyay
  • 23,293
  • 19
  • 66
  • 73
Patrick
  • 73
  • 2
  • 2
  • 5

2 Answers2

1

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

jmj
  • 237,923
  • 42
  • 401
  • 438
0

The answer to this question will be helpful.

Community
  • 1
  • 1
Vincent Ramdhanie
  • 102,349
  • 23
  • 137
  • 192