public static string OuterHtml(jQueryObject element) { if (element == null) return null; return CreateDiv().Append(element.Clone()).GetHtml(); }