cookie value is time value such as "11:33:44"

T

terry

Hi,

When I store cookie value "12:05:33" and read it again,
I find the value become "12%3A05%3A33",
how to read or convert it correctly?

Thanks!
 
J

Janwillem Borleffs

terry said:
Hi,

When I store cookie value "12:05:33" and read it again,
I find the value become "12%3A05%3A33",
how to read or convert it correctly?

Thanks!

Use the unescape() function for this:

var urldecodedValue = unescape(urlencodedValue);


JW
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top