Open.Core.Html.Append C# (CSharp) Method

Append() public static method

Creates and appends a DIV element within the given parent.
public static Append ( jQueryObject parent, string tag ) : jQueryObject
parent jQueryObject The parent element to insert into
tag string The tag name (NOT including angle brackets).
return jQueryObject
        public static jQueryObject Append(jQueryObject parent, string tag)
        {
            CreateElement(tag).AppendTo(parent);
            return parent.Last().Contents();
        }