///<summary> /// Search for a given element from among the matched elements. ///</summary> ///<param name="element">The DOM element or first element within the jQuery object to look for.</param> public extern Number index(jQuery element);
public extern static jQuery Select(jQuery @object);
///<summary> /// Insert content, specified by the parameter, to the end of each element in the set of matched elements. ///</summary> ///<param name="content">DOM element, HTML string, or jQuery object to insert at the end of each element in the set of matched elements.</param> ///<param name="content1">One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the end of each element in the set of matched elements.</param> public extern jQuery append(jQuery content, Element content1);
///<summary> /// Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments. ///</summary> ///<param name="object">An existing jQuery object to match the current set of elements against.</param> public extern bool @is(jQuery @object);
///<summary> /// Insert content, specified by the parameter, to the beginning of each element in the set of matched elements. ///</summary> ///<param name="content">DOM element, array of elements, HTML string, or jQuery object to insert at the beginning of each element in the set of matched elements.</param> ///<param name="content1">One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the beginning of each element in the set of matched elements.</param> public extern jQuery prepend(Element content, jQuery content1);
///<summary> /// Insert every element in the set of matched elements to the end of the target. ///</summary> ///<param name="target">A selector, element, HTML string, or jQuery object; the matched set of elements will be inserted at the end of the element(s) specified by this parameter.</param> public extern jQuery appendTo(jQuery target);
///<summary> /// Wrap an HTML structure around each element in the set of matched elements. ///</summary> ///<param name="wrappingElement">An HTML snippet, selector expression, jQuery object, or DOM element specifying the structure to wrap around the matched elements.</param> public extern jQuery wrap(jQuery wrappingElement);
///<summary> /// Insert every element in the set of matched elements to the beginning of the target. ///</summary> ///<param name="target">A selector, element, HTML string, or jQuery object; the matched set of elements will be inserted at the beginning of the element(s) specified by this parameter.</param> public extern jQuery prependTo(jQuery target);
///<summary> /// Remove elements from the set of matched elements. ///</summary> ///<param name="object">An existing jQuery object to match the current set of elements against.</param> public extern jQuery not(jQuery @object);
///<summary> /// Replace each element in the set of matched elements with the provided new content. ///</summary> ///<param name="newContent">The content to insert. May be an HTML string, DOM element, or jQuery object.</param> public extern jQuery replaceWith(jQuery newContent);
///<summary> /// Add elements to the set of matched elements. ///</summary> ///<param name="object">An existing jQuery object to add to the set of matched elements.</param> public extern jQuery add(jQuery @object);
///<summary> /// Get the first element that matches the selector, beginning at the current element and progressing up through the DOM tree. ///</summary> ///<param name="object">A jQuery object to match elements against.</param> public extern jQuery closest(jQuery @object);
///<summary> /// Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element. ///</summary> ///<param name="object">A jQuery object to match elements against.</param> public extern jQuery find(jQuery @object);
///<summary> /// Insert content, specified by the parameter, after each element in the set of matched elements. ///</summary> ///<param name="content">HTML string, DOM element, or jQuery object to insert after each element in the set of matched elements.</param> ///<param name="content1">One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert after each element in the set of matched elements.</param> public extern jQuery after(jQuery content, Element content1);
///<summary> /// Insert every element in the set of matched elements before the target. ///</summary> ///<param name="target">A selector, element, HTML string, or jQuery object; the matched set of elements will be inserted before the element(s) specified by this parameter.</param> public extern jQuery insertBefore(jQuery target);
///<summary> /// Insert content, specified by the parameter, after each element in the set of matched elements. ///</summary> ///<param name="content">HTML string, DOM element, or jQuery object to insert after each element in the set of matched elements.</param> ///<param name="content1">One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert after each element in the set of matched elements.</param> public extern jQuery after(jQuery content, jQuery content1);
///<summary> /// Insert content, specified by the parameter, before each element in the set of matched elements. ///</summary> ///<param name="content">HTML string, DOM element, or jQuery object to insert before each element in the set of matched elements.</param> ///<param name="content1">One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert before each element in the set of matched elements.</param> public extern jQuery before(jQuery content, string content1);
///<summary> /// Insert content, specified by the parameter, to the beginning of each element in the set of matched elements. ///</summary> ///<param name="content">DOM element, array of elements, HTML string, or jQuery object to insert at the beginning of each element in the set of matched elements.</param> ///<param name="content1">One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the beginning of each element in the set of matched elements.</param> public extern jQuery prepend(string content, jQuery content1);
///<summary> /// Insert content, specified by the parameter, before each element in the set of matched elements. ///</summary> ///<param name="content">HTML string, DOM element, or jQuery object to insert before each element in the set of matched elements.</param> ///<param name="content1">One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert before each element in the set of matched elements.</param> public extern jQuery before(jQuery content, Element content1);
///<summary> /// Insert content, specified by the parameter, to the beginning of each element in the set of matched elements. ///</summary> ///<param name="content">DOM element, array of elements, HTML string, or jQuery object to insert at the beginning of each element in the set of matched elements.</param> ///<param name="content1">One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the beginning of each element in the set of matched elements.</param> public extern jQuery prepend(jQuery content, jQuery content1);
///<summary> /// Insert content, specified by the parameter, before each element in the set of matched elements. ///</summary> ///<param name="content">HTML string, DOM element, or jQuery object to insert before each element in the set of matched elements.</param> ///<param name="content1">One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert before each element in the set of matched elements.</param> public extern jQuery before(jQuery content, jQuery content1);
///<summary> /// Insert content, specified by the parameter, to the end of each element in the set of matched elements. ///</summary> ///<param name="content">DOM element, HTML string, or jQuery object to insert at the end of each element in the set of matched elements.</param> ///<param name="content1">One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the end of each element in the set of matched elements.</param> public extern jQuery append(jQuery content, string content1);
///<summary> /// Insert every element in the set of matched elements after the target. ///</summary> ///<param name="target">A selector, element, HTML string, or jQuery object; the matched set of elements will be inserted after the element(s) specified by this parameter.</param> public extern jQuery insertAfter(jQuery target);
///<summary> /// Insert content, specified by the parameter, to the end of each element in the set of matched elements. ///</summary> ///<param name="content">DOM element, HTML string, or jQuery object to insert at the end of each element in the set of matched elements.</param> ///<param name="content1">One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the end of each element in the set of matched elements.</param> public extern jQuery append(jQuery content, jQuery content1);
///<summary> /// Insert content, specified by the parameter, after each element in the set of matched elements. ///</summary> ///<param name="content">HTML string, DOM element, or jQuery object to insert after each element in the set of matched elements.</param> public extern jQuery after(jQuery content);
///<summary> /// Reduce the set of matched elements to those that match the selector or pass the function's test. ///</summary> ///<param name="object">An existing jQuery object to match the current set of elements against.</param> public extern jQuery filter(jQuery @object);
///<summary> /// Insert content, specified by the parameter, after each element in the set of matched elements. ///</summary> ///<param name="content">HTML string, DOM element, or jQuery object to insert after each element in the set of matched elements.</param> ///<param name="content1">One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert after each element in the set of matched elements.</param> public extern jQuery after(jQuery content, string content1);
/// <summary> /// Creates a new instance of the class. /// </summary> public DivBuilder() { _jqBody = jQuery.Select(window.document.body); }
public extern static jQuery Select(string selector, jQuery context);