javascript - Mootools Numeric Textox -


I'm looking for the numeric textbox control based on the mootools structure.

If someone helps me find or implement this control then I would be grateful.

Thanks Alimz

You can easily write it.

  var isNumberKey = function (e) {if (e.code> 31 & amp; amp; (e.code & lt; 48 || e.code & gt; 57)) Returned; Return true; } Var isBackSpaceKey: function (e) {return e.code == 8; } Var isArrowKey: function (e) {return e.code & gt; = 37 & amp; nbsp; Amp; Encode & lt; = 40; } Var input = $$ ('width-input', '.height-input'); Inputs.addEvent ('keyup', function (e) {if number is (e) & amp;; hibekspace key (e) & amp;; aurroch (e)) e.stop ();});  

Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -