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

CreateElement() public static method

Creates a new element with the given tag.
public static CreateElement ( string tag ) : jQueryObject
tag string The HTML tag.
return jQueryObject
        public static jQueryObject CreateElement(string tag)
        {
            return jQuery.FromHtml(string.Format("<{0}></{0}>", tag));
        }