appendChild |
wrapper for appendChild |
oParent |
Parent element to append to |
oChild |
Child element to append |
Returns |
Returns reference to control appended or null if fails |
|
attatchEvent |
Attatches an event to an element |
oCtl |
Control that raises the event |
sType |
Event name to attatch to |
fHandler |
Reference to the function that will react to event |
Returns |
Returns true when successful |
|
createElement |
wrapper for createElement |
sTagName |
TagName to create |
Returns |
Returns reference to control created or null if fails |
|
deleteCookie |
deletes a cookie |
sName |
name of the desired cookie to delete |
sPath |
(optional) Path for which the cookie is valid |
sDomain |
(optional) Domain for which the cookie is valid |
Returns |
Returns true when cookie was found or false if not found |
|
getById |
wrapper for getElementById |
sID |
ID of element to retrieve |
oCtl |
(optional) Used to narrow search down, more efficient |
Returns |
Returns reference to control or null if fails |
|
getByTagName |
wrapper for getElementsByTagName |
sID |
ID of element to retrieve |
oCtl |
(optional) Used to narrow search down, more efficient |
Returns |
Returns reference to control or null if fails |
|
getCookie |
gets cookie |
sName |
name of the desired cookie |
Returns |
Return string containing value of specified cookie or if not found returns null |
|
setCookie |
sets cookie |
sName |
name of the desired cookie |
sValue |
value of cookie |
iDays |
(optional) Number of days until it expires |
sPath |
(optional) Path for which the cookie is valid |
sDomain |
(optional) Domain for which the cookie is valid |
bSecure |
(optional) Indicates if cookie transmission requires a secure connection |
Returns |
Return string containing value of specified cookie or if not found returns null |
|