ClassjQuery
Provide jQuery selector syntax support. Version 1.3 - http://docs.jquery.com/Selectors
Definition
Namespace:ArtOfTest.WebAii.jQuery
Assembly:ArtOfTest.WebAii.dll
Syntax:
public class jQuery
Inheritance: objectjQuery
Methods
all()
Matches all elements.
all<T>()
Matches all elements as a strongly typed control.
Declaration
public IList<T> all<T>() where T : HtmlControl, new()
Returns
IList<T>
attributes(params string[])
Filter based on the attributes.
button()
Filter on all input type=button
checkbox()
Filter on all input type=checkbox
Declaration
public IList<HtmlInputCheckBox> checkbox()
Returns
child()
Matches all child elements only. 'parent > child', http://docs.jquery.com/Selectors/child#parentchild
classes(params string[])
Matches all elements with the given class or classes.
contains(string)
Matches all elements that contain specific text. It's case sensitive.
descendant()
Matches all descendant elements.
empty()
Matches all elements that have no children (including text nodes).
eq(int)
Matches a specific index
even()
Matches even elements, zero-indexed.
file()
Filter on all input type=file.
first()
Matches the first selected element.
first<TControl>()
Matches the first selected element.
Declaration
public TControl first<TControl>() where TControl : HtmlControl, new()
Returns
TControl
firstChild()
Matches all elements that are the first child of their parent.
gt(int)
Matches index greated than
header()
Matches all header elements.
id(string)
Matches a single element with the given id attribute.
id<TControl>(string)
Matches a single element with the given id attribute.
Declaration
public TControl id<TControl>(string id) where TControl : HtmlControl, new()
Parameters
id
The control id
Returns
TControl
image()
Filter on all input type=image
input()
Filter on all 'input' elements.
Declaration
public IList<HtmlInputControl> input()
Returns
last()
Matches the last selected element.
last<TControl>()
Matches the last selected element.
Declaration
public TControl last<TControl>() where TControl : HtmlControl, new()
Returns
TControl
lastChild()
Matches all elements that are the last child of their parent.
lt(int)
Matches index less than.
next()
Matches all next elements. 'prev + next', The immediate next sibling. http://docs.jquery.com/Selectors/next#prevnext
odd()
Matches odd elements, zero-indexed.
onlyChild()
Matches all elements that are the only child of their parent.
parent()
Matches all elements that are parents - they have child elements, including text.
password()
Filter on all input type=password
Declaration
public IList<HtmlInputPassword> password()
Returns
radio()
Filter on all input type=radio
Declaration
public IList<HtmlInputRadioButton> radio()
Returns
reset()
Filter on all input type=reset
siblings()
Matches all sibling elements. 'prev ~ siblings', All next sibling elements. http://docs.jquery.com/Selectors/siblings#prevsiblings
submit()
Filter on all input type=submit
tag(string)
Matches all elements with the given tag name.
text()
Filter on all input type=text.