Right now, I have the following:
function jQueryToString( jQueryObject )
{
return $('<div>').append(jQueryObject.clone()).remove().html();
}
Which works swimmingly in firefox, opera, chrome, and safari. However, it breaks in IE. I need to convert an XML Document object into a string, so what are my options?