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