File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes make textfield to accept numbers only Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "make textfield to accept numbers only" Watch "make textfield to accept numbers only" New topic
Author

make textfield to accept numbers only

Jagdeep Sharma
Ranch Hand

Joined: May 24, 2010
Posts: 121

Guys,

Please look at http://dev.sencha.com/deploy/dev/examples/grid/property-grid.html
if you try to edit border width and type alphabet 'a'. It won't accept. alphabet 'a' is not even visible for a second. If you type a number, it goes well. Now i want to achieve the same thing using javascript (using event handlers). How do i go about that.
 
wood burning stoves
 
subject: make textfield to accept numbers only
 
Similar Threads
Making co-ordinates co-operate!
Dynamic Graphs(Ajax) in JSP
editable grid in extjs?
Web editable table
Implementing a Carousel Widget.