标签:des blog style class div img code java javascript log ext
onload="所要执行的代码"
|
Parameter 参数 |
Description 注释 |
---|---|
SomeJavaScriptCode 所要执行的代码 |
Required.
Specifies a JavaScript to be executed when the event
occurs. 必选项。当事件触发时所要执行的代码。 |
Supported by the following HTML tags:
所支持的HTML标签:
<body>, <frame>, <frameset>, <iframe>, <img>, <link>, <script> |
Supported by the following JavaScript
objects:
所支持的JavaScript对象:
image, layer, window |
In this example the text "Page is loaded" will be displayed in the status
bar:
在下面的例子中,页面加载完成时页面状态栏将出现“页面已加载”:
<html> <body onload="load()"> </html> |
JavaScript onload,码迷,mamicode.com
标签:des blog style class div img code java javascript log ext
原文地址:http://www.cnblogs.com/shaohz2014/p/3696810.html