[wdvltalk] Re: Current date javascript

2004-06-18 Thread Hewitt, Cheryl
: rudy [mailto:[EMAIL PROTECTED] Sent: Thursday, June 17, 2004 6:09 PM To: [EMAIL PROTECTED] Subject: [wdvltalk] Re: Current date javascript Or if anyone has a better script for this purpose, let me know. yep, i have one script type=text/javascript function currentdate() { if(confirm(Does anybody

[wdvltalk] RE: Current date javascript

2004-06-17 Thread Linden, Todd
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

[wdvltalk] RE: Current date javascript

2004-06-17 Thread Paul Larue
] | 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

[wdvltalk] RE: Current date javascript

2004-06-17 Thread Linden, Todd
/html -Original Message- From: Paul Larue [mailto:[EMAIL PROTECTED] Sent: Thursday, June 17, 2004 4:02 PM To: [EMAIL PROTECTED] Subject: [wdvltalk] RE: Current date javascript It would anyway be recommended to show date in an element. Create a DIV and then use document.getElementById

[wdvltalk] RE: Current date javascript

2004-06-17 Thread Riley
Todd, Thanks for the help. Replacing those quotes fixed it. Thanks! - Riley - Original Message - From: Linden, Todd [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 17, 2004 1:45 PM Subject: [wdvltalk] RE: Current date javascript JavaScript is choking on the double quotes

[wdvltalk] Re: Current date javascript

2004-06-17 Thread rudy
Or if anyone has a better script for this purpose, let me know. yep, i have one script type=text/javascript function currentdate() { if(confirm(Does anybody really know what time it is?)) { alert(Does anybody really care?) } } currentdate(); /script noscript pToday is the first