enter回车提交表单
<style>
#XY{
	width:40px;
	height:100px;
	background:#aaa;
}
</style>
<input type="input" />
<script>
$(document).ready(function() {  
     $("input").keyup(function(e){
		    if(e.which=="13"){
			   alert("回车提交!")
		    }
		})
});
</script>
 
                    
                     
                    
                 
                    
                
 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号