js_ transfer can only enter numbers _
Advertisements
- <Input name = "selectID" type = "text" class = "input" size = "30" style = "ime-mode: disabled" onkeydown = "if (event.keyCode == 13) event.keyCode = 9" onKeyPress = "if ((event.keyCode <48 | | event.keyCode> 57)) event.returnValue = false">
Related Posts of js_ transfer can only enter numbers _
-
Javascript to determine input (input box) whether the value is empty
For example, there is the following piece of code <from name="formName"> <input name="inputName" value="" /> </ form> We want to use JavaScript to determine whether the value of input box is empty, for ...
-
js's the use of plug-ins for some time
My97DatePicker this is a time-line to find the plug-in, or feel very good use, usage, first of all, this directory to My97DatePicker all documents Kaodao your project directory, and then adding src to find js file, as follows: Time will be chosen. Th ...
-
bulk delete js
1, through the javascript to achieve the entire election and the anti-election of three methods. var SelectAllFlag = false; function goToForAllSelect () ( var doc = document.form1; var l = doc.sel.length if (l == null) ( l = 1; ) if (l == 1) ( if (! ...
-
Jump page reference code JS
The first is: <script language="javascript" type="text/javascript"> window.location.href = "login.jsp? backurl =" + window.location.href; </ script> The second: <script language="javascript"> ...
-
JS implementation using copy / paste function
This article is from the Internet to collect me from organize. 1, the basic reproduction 2, the expansion of copy: Copy table 3, compatible with IE, firefox browser, such as a copy of
-
JavaScript html js input text box only figure
<input name="selectID" type="text" size="30" onkeydown="if(event.keyCode==13)event.keyCode=9" onKeyPress="if ((event.keyCode <48 || event.keyCode>57)) event.returnValue=false"> Black hair: http://heisetoufa.javaeye.com/
-
js selected in accordance with dynamic checkbox delete add a row
<html> <body> <table width="200" border="1"> <tr> <td> <input type="checkbox" name="ck" value="1"> </ td> <td> abc </ td> </ tr> </ table ...
-
prototype asynchronous Chinese garbled form submission
test.html <html xmlns = " http://www.w3.org/1999/xhtml "> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title> PROTOTYPE POST </ title> <script language="j
-
Test js select select
<html> <head> <title>Test a js select select </title> </head> <script language="javascript"> <!-- function jsSelectItemByValue(objSelect,objItemText) { //Determine the existence of var isExit = false; for(var i=0;i












