public interface JQuery
| Modifier and Type | Method and Description |
|---|---|
JQuery |
addClass(String className)
Adds the specified classes to each of the set of matched elements.
|
JQuery |
after(String... content)
Insert content, specified by the parameter, after each element in the set of
matched elements.
|
JQuery |
append(Content content)
Insert content, specified by the parameter, to the end of each element in
the set of matched elements.
|
JQuery |
append(String... content)
Insert content, specified by the parameter, to the end of each element in
the set of matched elements.
|
JQuery |
appendTo(String target)
Insert every element in the set of matched elements to the end of the
target.
|
String |
attr(String attributeName)
Get the value of an attribute for the first element in the set of matched
elements or set one or more attributes for every matched element.
|
JQuery |
before(String... content)
Insert content, specified by the parameter, before each element in the set
of matched elements.
|
JQuery |
button() |
JQuery |
call(String function) |
JQuery |
call(String function,
String... args) |
JQuery |
call(String function,
String arg) |
JQuery |
callunquoted(String function,
String arglist) |
JQuery |
click(Function function) |
JQuery |
closest(String name) |
JQuery |
concat(String... js) |
JQuery |
document() |
JQuery |
empty()
Remove all child nodes of the set of matched elements from the DOM.
|
JQuery |
find(String selector) |
JQuery |
firstOfType(String element) |
JQuery |
get(String url,
Function data,
Function callback,
String type) |
JQuery |
html(String arg) |
JQuery |
insertAfter(String target)
Insert every element in the set of matched elements after the target.
|
JQuery |
insertBefore(String target)
Insert every element in the set of matched elements before the target.
|
JQuery |
lastChild(String string) |
JQuery |
prepend(Content content)
Insert content, specified by the parameter, to the beginning of each element
in the set of matched elements.
|
JQuery |
prepend(String... content)
Insert content, specified by the parameter, to the beginning of each element
in the set of matched elements.
|
JQuery |
prepend(String content)
Insert content, specified by the parameter, to the beginning of each element
in the set of matched elements.
|
JQuery |
prependTo(String target)
Insert every element in the set of matched elements to the beginning of the
target.
|
JQuery |
remove()
Remove the set of matched elements from the DOM.
|
JQuery |
remove(String selector)
Remove the set of matched elements from the DOM.
|
JQuery |
replaceAll(String target)
Replace each target element with the set of matched elements.
|
JQuery |
replaceWith(String wrappingElement)
Replace each element in the set of matched elements with the provided new
content and return the set of elements that was removed.
|
JQuery |
serialize()
Encode a set of form elements as a string for submission.
|
JQuery |
text(String arg) |
JQuery |
toggle() |
String |
toJavaScript() |
JQuery |
trigger(String event) |
JQuery |
val(String arg) |
JQuery |
width(String value)
Set the CSS width of each element in the set of matched elements.
|
JQuery |
wrap(String wrappingElement)
Wrap an HTML structure around each element in the set of matched elements.
|
JQuery |
wrapAll(String wrappingElement)
Wrap an HTML structure around all elements in the set of matched elements.
|
JQuery |
wrapInner(String wrappingElement)
Wrap an HTML structure around the content of each element in the set of
matched elements.
|
JQuery addClass(String className)
jQuery(this).addClass("myClass yourClass");
JQuery after(String... content)
JQuery append(Content content)
JQuery append(String... content)
JQuery appendTo(String target)
String attr(String attributeName)
JQuery before(String... content)
JQuery button()
JQuery document()
JQuery empty()
JQuery insertAfter(String target)
JQuery insertBefore(String target)
JQuery prepend(Content content)
JQuery prepend(String content)
JQuery prepend(String... content)
JQuery prependTo(String target)
JQuery remove()
JQuery remove(String selector)
JQuery replaceAll(String target)
JQuery replaceWith(String wrappingElement)
JQuery serialize()
JQuery toggle()
String toJavaScript()
JQuery width(String value)
JQuery wrap(String wrappingElement)
JQuery wrapAll(String wrappingElement)
JQuery wrapInner(String wrappingElement)
Copyright © 2013 Whizu. All Rights Reserved.