|
|
有如下HTML,如何用程序触发点击按钮呢?
<div class="highlighter">
- <!DOCTYPEHTMLPUBLIC"-//W3C//DTDHTML4.0Transitional//EN">
- <HTML>
- <HEAD>
- <TITLE>NewDocument</TITLE>
- <METANAME="Generator"CONTENT="EditPlus">
- <METANAME="Author"CONTENT="">
- <METANAME="Keywords"CONTENT="">
- <METANAME="Description"CONTENT="">
- </HEAD>
- <BODY>
- <inputtype="button"id="btnTest"value="Test"onclick="alert('点击了我');"/>
- </BODY>
- </HTML>
|
|