本帖最后由 c755731262 于 2015-5-18 06:09 编辑
- <html>
- <head>
- <title>
- 添加一个带参数的事件句柄
- </title>
- <script language="vbscript">
- sub dosomething(theelement,thenumber)
- msgbox theelement.name&" "&thenumber
- end sub
- </script>
- </head>
- <body>
- <hr>
- 添加一个带参数的事件句柄test
- </hr>
- <input type="button" name="button" value="tiger" onclick="dosomething (me,99)">
- </body>
- </html>
复制代码
|