Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
S
 set, Jel. ObjectPath
 setValue, Form. Element
 showResults, Jel. FormValidator
 showResultsAlert, Jel. FormValidator
 showResultsList, Jel. FormValidator
 startsWith, Jel. String
 submit, Jel. FormValidator
 swapClassName, Element
T
 titleCase, Jel. String
 toFloat, Jel. String
 toInt, Jel. String
 trim, Jel. String
 twelveHour, Jel.Date
U
 update, Jel. ElementCache
V
 validate, Jel. FormValidator
 validateField, Jel. FormValidator
 validDayMonthYear, Jel.Date
set: function(value)
sets the value of the object described by this ObjectPath
Form.Element.setValue = function(element,
value)
Sets the value of a form element to a given value, regardless of the type of control it is
showResults: function(results)
Displays the results of the validation, based on options specified in the constructor method.
showResultsAlert: function(results)
The method called to display the validation results as a JavaScript alert, if the options specify this (see constructor for more).
showResultsList: function(results,
container)
The method called to display the validation results inside a DOM container (controlled via the resultsContainer option in constructor).
startsWith: function(str,
strCompare,
ignoreCase)
checks if a given string begins with another string, with the optional case-insensitive comparison
submit: function()
Attempts to submit the form associated with this validator, by running all validation, and submitting if successful.
Element.swapClassName = function(element,
className1,
className2)
Swaps a given class name on an element to a different class name, with a check to work out which class name an element currenly has first.
titleCase: function(str)
converts a string of words into the equivalent title cased word
toFloat: function(str)
gets the float value of a given string in manner safe for arithmetic expressions
toInt: function(str)
gets the integer value of a given string in a manner that is safe for arithmetic expressions
trim: function(str)
removes whitespace characters from the beginning and end of a given string
Jel.Date.twelveHour = function(hour)
gets the twelve hour value for the given hour
update: function()
updates all selectors with their current values
validate: function()
Validates the form associated with this validator, and sets up validation results.
validateField: function(field)
Validates a single given field in the form associated with this validator, and sets up the results for just this field.
Jel.Date.validDayMonthYear = function(day,
month,
year)
checks if a given day, month, and year combination is a valid date in the Gregorian calendar