bjmurray
asked on
Using jquery to select all cookies with a specific prefix
Sorry for the newbish question, but i'm a bit out of my league when it comes to regular expressions.
Using jquery, I'm wanting to loop through all cookies, filtering ones with a specific prefix and setting their value to 0.
ie:
ccookiePrefix_abc
ccookiePrefix_bcd
ccookiePrefix_cde
ccookiePrefix_def
So iterate through all cookies, matching those with the prefix cookiePrefix_ and setting their values to 0.
Thanks in advance
Using jquery, I'm wanting to loop through all cookies, filtering ones with a specific prefix and setting their value to 0.
ie:
ccookiePrefix_abc
ccookiePrefix_bcd
ccookiePrefix_cde
ccookiePrefix_def
So iterate through all cookies, matching those with the prefix cookiePrefix_ and setting their values to 0.
Thanks in advance
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.