I'm self-taught Javascript, HTML, and XHTML. HTML and XHTML work very well. But, when I write Javascript, it doesn't work though my IE tell me there is Active Control X in my site. I copied a Javascript from a site and put it in Notepad and it worked, so the problem is not in the browser, I think it's in my Javascipt. This is a sample, check it for me pls.:
var time=get hours()
if(time>5)
{
document.write:("Not Twilight yet, sir!!!")
}
2007-01-23
18:35:26
·
6 answers
·
asked by
Palestini Detective
4
in
Computers & Internet
➔ Programming & Design
Pls. read the details carefully. The 1st, 2nd, 3rd, and 5th answers tell me that there is a problem that would stop all my Javascipt, nevertheless only Javascript written by me don't work.!!!
2007-01-24
01:50:31 ·
update #1