public static ChildAt ( int index, jQueryObject parent ) : jQueryObject | ||
index | int | The index of the child (0-based). |
parent | jQueryObject | The parent to look within. |
return | jQueryObject |
public static jQueryObject ChildAt(int index, jQueryObject parent)
{
jQueryObject element = parent.Children(string.Format(":nth-child({0})", index + 1));
return element.Length == 0 ? null : element;
}