addOption
Adds an option to a select Arguments
|
||||||||||||||||||||||||||||||||
addOptions
Adds all options from the array to a select Arguments
|
||||||||||||||||||||||||||||||||
checkAll
Checks (or unchecks) all checkboxes Arguments
|
||||||||||||||||||||||||||||||||
clearOptions
Removes all options from a select Arguments
|
||||||||||||||||||||||||||||||||
compareOptions
Function used to compare two options by their text Arguments
|
||||||||||||||||||||||||||||||||
getCaret
Returns the caret position. When a range is selected, returns the range end. For IE, requires prepareForCaret() to be first called on the object Arguments
|
||||||||||||||||||||||||||||||||
getInputSelection
Returns an input's selected text. For IE, requires prepareForCaret() to be first called on the object Arguments
|
||||||||||||||||||||||||||||||||
getInputSelectionRange
Returns an input's selected range. For IE, requires prepareForCaret() to be first called on the object Arguments
|
||||||||||||||||||||||||||||||||
getValue
Returns an object value. The object may be an form input or an HTML element Arguments
|
||||||||||||||||||||||||||||||||
isCaretSupported
Returns if caret operations are supported in the given object Arguments
|
||||||||||||||||||||||||||||||||
isInputSelectionSupported
Returns if input selection operations are supported in the given object Arguments
|
||||||||||||||||||||||||||||||||
prepareForCaret
Prepares the input object to use caret or selection manipulation functions on Internet Explorer. Should be called only once on each input Arguments
|
||||||||||||||||||||||||||||||||
replaceSelection
Replaces the selected text for a new one. On IE, only works if the object has focus. For IE, requires prepareForCaret() to be first called on the object Arguments
|
||||||||||||||||||||||||||||||||
selectString
Selects a given string on the input text Arguments
|
||||||||||||||||||||||||||||||||
setCaret
Sets the caret to the specified position Arguments
|
||||||||||||||||||||||||||||||||
setCaretToEnd
Sets the caret to the text end Arguments
|
||||||||||||||||||||||||||||||||
setCaretToStart
Sets the caret to the text start Arguments
|
||||||||||||||||||||||||||||||||
setInputSelectionRange
Sets the selection range on an input field Arguments
|
||||||||||||||||||||||||||||||||
setOptions
Sets a select's options from an array Arguments
|
||||||||||||||||||||||||||||||||
setValue
Sets an object value. If the value and the object are arrays, set each value Arguments
|
||||||||||||||||||||||||||||||||
sortOptions
Sorts the options on a Select Arguments
|
||||||||||||||||||||||||||||||||
transferOptions
Transfers options from a select to another. May transfer all or just the selected ones Arguments
|
arrayConcat
Returns an array containing all elements of both arrays Arguments
|
||||||||||||||||
arrayEquals
Returns an the two arrays have exactly the same elements Arguments
|
||||||||||||||||
ensureArray
Ensurea an array is returned. When the object is null or undefined, returns an empty array. When an array return it. Otherwise, return an array with the argument in Arguments
|
||||||||||||||||
inArray
Returns if the object is in the array Arguments
|
||||||||||||||||
indexOf
Returns the first index of the object within the array Arguments
|
||||||||||||||||
removeFromArray
Removes all occurrences of the given objects is in the array Arguments
|
observeEvent
Adds an event listener to a given object. The function may safely use this to refer to the object Arguments
|
||||||||||||||||
preventDefault
Makes the given event to not be completed (example: on keypress, the key is not accepted) Arguments
|
||||||||||||||||
stopPropagation
Makes the event to stop propagating to innermost elements Arguments
|
||||||||||||||||
typedCode
Returns the key code of the given event. If you need the type char, use String.fromCharCode(typedCode(event)) Arguments
|
capitalize
Capitalizes a String Arguments
|
||||||||||||||||
crop
Removes a specified number of characters from a String after a specified position Arguments
|
||||||||||||||||
escapeCharacters
Escapes the string's special characters to their escaped form ('\\' to '\\\\', '\n' to '\\n', ...) and the extraChars are escaped via unicode (\uXXXX, where XXXX is the charcode) Arguments
|
||||||||||||||||
insertString
Insert a String on another Arguments
|
||||||||||||||||
lcrop
Removes a specified number of characters from the beggining of a String Arguments
|
||||||||||||||||
left
Return 'n' charactes from the string's left side Arguments
|
||||||||||||||||
lpad
Make the string have the specified length, completing with the specified character on the left. If the String is greater than the specified size, it is truncated to it, using the leftmost characters Arguments
|
||||||||||||||||
ltrim
Removes all specified characters on the String's left side Arguments
|
||||||||||||||||
mid
Return 'n' charactes from the string's specified position Arguments
|
||||||||||||||||
onlyAlpha
Return if the string has only letters or numbers Arguments
|
||||||||||||||||
onlyLetters
Return if the string has only letters Arguments
|
||||||||||||||||
onlyNumbers
Return if the string has only numbers Arguments
|
||||||||||||||||
onlySpecified
Return if the string has only the specified characters Arguments
|
||||||||||||||||
rcrop
Removes a specified number of characters from the end of a String Arguments
|
||||||||||||||||
repeat
Repeats the given string a number of times Arguments
|
||||||||||||||||
replaceAll
Replaces all the occurences in the string Arguments
|
||||||||||||||||
right
Return 'n' charactes from the string's right side Arguments
|
||||||||||||||||
rpad
Make the string have the specified length, completing with the specified character on the right. If the String is greater than the specified size, it is truncated to it, using the leftmost characters Arguments
|
||||||||||||||||
rtrim
Removes all specified characters on the String's right side Arguments
|
||||||||||||||||
trim
Removes all specified characters on both sides of the String Arguments
|
||||||||||||||||
unescapeCharacters
Unescapes the string, changing the special characters to their unescaped form ('\\\\' to '\\', '\\n' to '\n', '\\\\uXXXX' to the ASC(XXXX), ...) Arguments
|
dateAdd
Adds a given amount on a given date field Arguments
|
||||||||||||||||
dateDiff
Returns the difference, as in date2 - date1 Arguments
|
||||||||||||||||
getDateField
Returns the value of a given date field Arguments
|
||||||||||||||||
getFullYear
Returns the full year, given a 2 digit year. 50 or less returns 2050 Arguments
|
||||||||||||||||
getMaxDay
Returns the maximum day of a given month and year Arguments
|
||||||||||||||||
setDateField
Sets the value of a given date field Arguments
|
||||||||||||||||
truncDate
Truncates the date, setting all fields lower than the specified one to its minimum value Arguments
|
deleteCookie
Removes the specified cookie Arguments
|
||||||||||||||||||||||||||||||||
readCookie
Reads the specified cookie Arguments
|
||||||||||||||||||||||||||||||||
writeCookie
Writes the specified cookie Arguments
|
getOpacity
Returns an object opacity. This function is currently supported by Internet Explorer and Gecko based browsers only. Arguments
|
||||||||||||
setOpacity
Sets an object opacity, to a value ranging from 0 to 100. This function is currently supported by Internet Explorer (where it only works when the element's position is absolute) and Gecko based browsers only. Arguments
|