It would anyway be recommended to show date in an element. Create a DIV
and then use

document.getElementById("ElementName").innerText =  lmonth;
   --- instead of ---
document.write("<div align='left'>" + lmonth + " ");

Paul

| -----Original Message-----
| From: Linden, Todd [mailto:[EMAIL PROTECTED] 
| Sent: Friday, June 18, 2004 12:46 AM
| To: [EMAIL PROTECTED]
| Subject: [wdvltalk] RE: Current date javascript
| 
| 
| JavaScript is choking on the double quotes. It assumes the 
| end of the string when it sees second set of double quotes.
| 
| This line:
| 
|     document.write("<div align="left">" + lmonth + " ");
| 
| Should read:
| 
|     document.write("<div align='left'>" + lmonth + " ");
| 
| 
| 
| HTH 
| 
|  - Todd
| 
| ____ . The WDVL Discussion List from WDVL.COM . ____
| To Join wdvltalk, Send An Email To: 
| mailto:[EMAIL PROTECTED] 
|        Send Your Posts 
| To: [EMAIL PROTECTED]
| To set a personal password send an email to 
| [EMAIL PROTECTED] with the words: "set WDVLTALK 
| pw=yourpassword" in the body of the email. To change 
| subscription settings to the wdvltalk digest version:
|     http://wdvl.internet.com/WDVL/Forum/#sub
| 
| ________________  http://www.wdvl.com  _______________________
| 
| You are currently subscribed to wdvltalk as: 
| [EMAIL PROTECTED] To unsubscribe send a blank email to 
| %%email.unsub%%
| 
| To unsubscribe via postal mail, please contact us at: 
| Jupitermedia Corp.
| Attn: Discussion List Management
| 475 Park Avenue South
| New York, NY 10016
| 
| Please include the email address which you have been contacted with.
| 


____ • The WDVL Discussion List from WDVL.COM • ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
       Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: "set 
WDVLTALK pw=yourpassword" in the body of the email.
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.

Reply via email to