Jel - JavaScript Enhancement Library API Documentation | Index
checks if a string value is greater than or equal to another, assuming a specific type (and format if the type is a date) checks if a string value is greater than or equal to another, assuming a specific type (and format if the type is a date), and is case insensitive if type is string gets the value of the object described by this ObjectPath gets the file extension for a given string Gets the inline error message container for a given field. checks if a string value is greater than another, assuming a specific type (and format if the type is a date) checks if a string value is greater than another, assuming a specific type (and format if the type is a date), and is case insensitive if type is string Checks if a given element has a given parent element in the DOM tree. Hides the results of the validation, and also any inlines associated with previous validations (if visible). The method called to hide the DOM container that validation results are displayed in (controlled via the resultsContainer option in constructor). a hash collection of common date format string constants as usually expressed by humans, with each constant being equivalent to those in Jel.Date.FORMAT checks if a string value is equal to another, comparing both as integers gets the Swatch internet time for the given date object checks if a string value is greater than or equal to another, comparing both as integers checks if a string value is greater than another, comparing both as integers checks if a string value is less than or equal to another, comparing both as integers checks if a string value is less than another, comparing both as integers checks if a string value represents a negative integer checks if a string value is not equal to another, comparing both as integers checks if a string value represents a positive integer checks if a string value falls within a given range, comparing as integers checks if a string value represents a positive or negative integer Checks if a given field is “empty” within the form. For textareas and text inputs, this is when the field value is the empty string. Checks whether a given form element is an input of type checkbox Checks whether a given form element is an input of type hidden Checks whether a given form element is an input of type radio Checks whether a given form element is an input of type text checks if a given year is a leap year Checks whether a given form element is a select Checks whether a given form element is a textarea Extends the core JavaScript classes (Date, String, and Number) and their prototypes with methods from Jel.Date, Jel.String, and Jel.Number respectively. Utility Methods for manipulating JavaScript’s built-in Date class A utility class to cache the results of CSS selector based queries (since they can be expensive operations) Provides unobtrusive client-side validation behaviour to an HTML form, via recognition of special CSS class strings (validation classes) attached to each field. Language Resources for the Jel library which allow it to be internationalised. Language resources for Jel.Date Utility Methods for manipulating JavaScript’s built-in Number class A utility class for creating “reference pointers” to variables by providing an array of object parts Unobtrusively adds popup window behaviour to an array of specified DOM elements (links). Language-specific String functions A collection of validation routines (also used by Jel.FormValidator) checks if a string value is less than or equal to another, assuming a specific type (and format if the type is a date) gets a string representation for a given number padded out with leading zeros to a given length checks if a string value is less than or equal to another, assuming a specific type (and format if the type is a date), and is case insensitive if type is string gets the specified number of characters from the beginning of a given string checks if the length of a string is equal to a specific value checks if the length of a string value is greater than or equal to a specific value checks if the length of a string value is greater than a specific value checks if the length of a string value is less than or equal to a specific value checks if the length of a string value is less than a specific value checks if the length of a string is not equal to a specific value checks if the length of a string is between a lower and upper bound (inclusive by default, but can be overridden) checks if a string value is less than another, assuming a specific type (and format if the type is a date). checks if a string value is less than another, assuming a specific type (and format if the type is a date), and is case insensitive if type is string removes whitespace characters from the beginning of a given string gets the ante/post meridiem (am or pm) for a given hour an array of long month names string constants for the current language build. an array of short month names string constants for the current language build. |