Thread: Javascript Variables
Results 1 to 3 of 3
Related
-
Passing variables to external PHP Javascript page Forum: PHP Forum
Replies: 0 -
Passing Javascript variables to a form Forum: Javascript Forum
Replies: 0 -
build a URL with variables in it Forum: PHP Forum
Replies: 2 -
how to pass variables from one .htm to the next .htm? Forum: HTML Forum
Replies: 3 -
Status variables not updating? Forum: PHP Forum
Replies: 1
-
03-13-2003, 04:47 PM #1
Javascript Variables
Hello!
I have this var
myVar=new Date(2003,2,12,17,18,12);
alert(myVar) returns "Wed Mar 12 17:18:12 PST 2003"
Is it possible to get just the literal string
"new Date(2003,2,12,17,18,12);"
instead of the formed date?
-
03-13-2003, 05:41 PM #2
Hiya,
try -
Code:myVar='new Date(2003,2,12,17,18,12)'; alert(myVar);
If one of our members helps you, please click theicon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?
-
03-14-2003, 01:25 AM #3
Cloudjiffy- PaaS for Developers
10-05-2020, 12:30 AM in Web Hosting Forum