X NUMBER MASK OBJECT
The X Number Mask object allows numeric fields to be created, from
an entry field in a normal html form. When invalid data is entered it
is cleared and when the maximum number of numbers is reached or when letters
are about to be entered they are prevented. The mistakes that are made are displayed
on the status bar.
The object is customizable, the following attributes can be set:
- Number of numbers entry field must not exceed.
- Number of decimal numbers entry field must not exceed. (May be 0)
- wether the entry field should be activated upon creation.
Call construtor xNumberMask(txtBox,lLimit,blnDoNotActivate) in xNumberMask.js and
pass it a reference to the entry field (txtBox) the (lLimit) and a boolean indicating
wether it should be activated immideitly or not.
Call xNumberMask's activate method to start monitoring and validating the data entered
into the entry field.
If no limit is given then the size property of the entry field is used.
This version supports flo
Code!
xLayer in Action|
Fixed Position Javascript Object|
Toolbar Object|
Menu Object|
Restricted Area Object|
Animated Button Object|
Drag Object|
Internal Frame Object|
Number Mask Object|
Sound Object
You may use this javascript for free!
Home