Page MenuHomeCode

fcknumericfield.htc
No OneTemporary

fcknumericfield.htc

<public:component lightweight="true">
<script language="javascript">
function CheckIsDigit()
{
var iCode = event.keyCode ;
event.returnValue =
(
( iCode >= 48 && iCode <= 57 ) // Numbers
|| (iCode >= 37 && iCode <= 40) // Arrows
|| iCode == 8 // Backspace
|| iCode == 46 // Delete
) ;
return event.returnValue ;
}
this.onkeypress = CheckIsDigit ;
</script>
</public:component>

File Metadata

Mime Type
text/html
Expires
Sat, Apr 26, 07:55 (1 d, 5 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
22625
Default Alt Text
fcknumericfield.htc (439 B)

Event Timeline