document.all.控件名.事件名
如:
<input type=text onkeypress="if(event.keyCode==13)document.all.d.click();"><input type=button id="d" value="d" onclick="alert('this is d')">
如:
<input type=text onkeypress="if(event.keyCode==13)document.all.d.click();"><input type=button id="d" value="d" onclick="alert('this is d')">
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货