ukeGeeks.toolsLite Class
some jQuery-like tools (very, very crappy. wish we could count on jQuery being on the page.) if you do want to use jQuery (and why wouldn't you) I'm not offended if you yank this out.
Methods
addClass
(
Void
-
element -
className
adds className to element.
Parameters:
-
elementDOM_elementtarget element
-
classNameStringCSS classname to add
Returns:
Void:
getElementsByClass
(
ArrayDomElements
-
searchClass -
node -
tag
Searches within Node for tags with specified CSS class.
Parameters:
-
searchClassStringCSS Classname
-
nodeHtmlNodeparent node to begin search within. Defaults to entire document.
-
tagStringrestrict search to a specific tag name. defaults to all tags.
Returns:
ArrayDomElements:
trim
(
String
-
str
Removes all white space at the begining and end of a string.
Parameters:
-
strStringString to trim.
Returns:
String:
Returns string without leading and following white space characters.
Properties
_public
Object
attach public members to this object
