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
 
Back
Top