What do you want to save?
Add Code snippet
New code examples
-
Html 2021-11-05 13:43:19
accept only numbers in textbox
<input type="text" onkeypress="return isNumberKey(event)" placeholder="Phone Number"> //this will accept only numbers from 0 to 9 <script> function isNumberKey(evt) { var charCode = (evt.which) ? evt.which : even... Add solution -
Javascript 2021-10-29 02:28:11
disable inspector
/* It's possible, but this would block the following commands: * Right Click (entirely!) * F12 * Ctrl + Shift + I * Ctrl + Shift + J * Ctrl + Shift + C * Ctrl + U */ // Right click <body oncontextmenu="return false"> // Keys docume... Add solution