1.<script language="javascript" for="document" event="onkeydown"> 2. var keyCode = event.keyCode ? event.keyCode : event.which ? event.which : event.charCode; 3. if (keyCode == 13) { 4. controlForm(1); 5. } 6. </script>
存在这里,方便以后用
1.<script language="javascript" for="document" event="onkeydown"> 2. var keyCode = event.keyCode ? event.keyCode : event.which ? event.which : event.charCode; 3. if (keyCode == 13) { 4. controlForm(1); 5. } 6. </script>
存在这里,方便以后用