about Javascript??

  • Thread starter Thread starter Kosic
  • Start date Start date
K

Kosic

In IE6 with Sp1,dot NET framework 1.0 , Win2000
I try to write a javascript as:
document.open();
document.writeln("<script language =
\"javascript\">alert(\"fafdas\");</script>");
the aspx page can't run correctly.
What 's wrong ? Thx!

KOSIC
 
The document.writeln would completely override your HTML content. Hence you
should relook your usage of the document object here.

HTH
Raja
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top