它是关于html中的jsp [英] It is about jsp in html
本文介绍了它是关于html中的jsp的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
how to include java scripts in html?
推荐答案
Google搜索结果 [ ^ ]
以HTML格式添加JavaScript:
功能显示(){
提醒(确定);
}
表格id =form1runat =server>
< div>
<输入type =buttonvalue =Click Meonclick =Show()/>
< / div>
< / form>
< / body>
< / html>
To Add the JavaScript in HTML:
function Show() {
alert("OK");
}
form id="form1" runat="server">
<div>
<input type="button" value="Click Me" onclick="Show()" />
</div>
</form>
</body>
</html>
这篇关于它是关于html中的jsp的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文