-
FEATURED COMPONENTS
First time here? Check out the FAQ!
intbox allowing the calculating values how to prevent this in intbox
HI SudhakarReddy,
Please try the following code:
<zk xmlns:w="client"> <textbox> <attribute w:name="getAllowedKeys_" > function () { return "0123456789+-*/"; } </attribute> <attribute w:name="doKeyPress_" > function(evt){ if (!this._shallIgnore(evt, this.getAllowedKeys_())) this.$supers('doKeyPress_', arguments); } </attribute> </textbox> </zk>
Asked: 2012-02-14 12:57:02 +0800
Seen: 189 times
Last updated: Feb 22 '12