jsUtils
The jsUtils class is the core class and should be include with all pages that use Web 2.0 UI libraries. The jsUtils class does not
need to be instantiated and is defined withing the DOM window object. This class has the following properties and methods:
General Functions
Retries a page from the server using GET method
Retries a page from the server using POST method
Checks if the variable is an integer.
Checks if the variable is an float number.
Checks if the variable is an hexadecimal number.
Checks if the variable is an number compatible with money format.
Checks if the variable is a valid date (mm/dd/yyyy).
Checks if the variable is a valid time (hh:mi).
Checks if the variable looks like an email address.
String Functions
Returns serialized representation of a JavaScript object.
Encodes string into base 64 encoding.
Encodes string into base 64 encoding.
Trims string variable.
Strings XML(HTML) tags.
Checks if the needle is in the array.
On Screen Functions
Locks the screen with an absolute div.
Unlocks the screen.
Displays a message dialog.
Hides the message dialog.
Centers an absolute div on screen.
Displays a shadow behind an absolute div.
Removes the shadow behind an absolute div.
Displays and slides down an absolue div.
Slides up and hides an absolue div.