标签:style color for 代码 type ef on sp
<input type="button" id="btn" name="btn"/>
然后为Form标签设置一个属性defaultbutton,代码如下
<form id="form1" runat="server" defaultbutton="btn">
如此一来按下回车键后,就会自动触发button事件,从而实现搜索
标签:style color for 代码 type ef on sp
原文地址:http://www.cnblogs.com/candyzhmm/p/3910700.html