writeln Method--------------------------------------------------------------------------------Writes one or more HTML expressions, followed by a carriage return, to a document in the specified window. Syntaxdocument.writeln(sText)ParameterssText Required. String that specifies the text and/or HTML tags to write. Return ValueNo return value. ResIn HTML, the carriage return is ignored unless it occurs within preformatted text. Applies To[ Object Name ] Platform Version Win16: Win32: Mac: Unix: WinCE: Version data is listed when the mouse hovers over a link, or the link has focus. document
Move the mouse cursor over an element in the Applies To List to display availability information for the listed platforms. --------------------------------------------------------------------------------
Platform Version
Win16:
Win32:
Mac:
Unix:
WinCE:
Version data is listed when the mouse hovers over a link, or the link has focus.
document
Move the mouse cursor over an element in the Applies To List to display availability information for the listed platforms.
--------------------------------------------------------------------------------
在下面这个命令中就可以看到效果了:
alert("hello /n hello");
go('t1','t2')为某一个函数
document.write("<a href=# onclick=go('t1','t2')>");//t1,t2为字符串。
提示:“未结束的脚本”。
???