Automobile.Mobile.Framework.JQuery.ParentSelector C# (CSharp) Method

ParentSelector() public static method

Formats a selector which is eqivalent to selecting the first parent of the child
public static ParentSelector ( string child ) : string
child string Child to select the parent of
return string
        public static string ParentSelector(string child)
        {
            return string.Format(":has('{0}'):last", child);
        }