怎么可以显示input中的值呢
<script type= "text/javascript ">
function KeyPress(e,o){
var oEvent = (document.all) ? window.event : e;
if(oEvent.keyCode==13) alert(o.value);
}
</script>
<input name= " " type= "text " onkeypress= "KeyPress(this) " />
怎么可以显示input中的值呢
------解决方案--------------------onkeypress= "KeyPress(this.event,this) "