Lines Matching refs:doc
362 var doc = frame.contentWindow ? frame.contentWindow.document : frame.contentDocument ? frame.contentDocument : frame.document;
363 return doc;
432 // add iframe to doc and submit the form
461 var data, doc, domCheckCount = 50, callbackProcessed;
468 doc = getDoc(io);
483 if (!doc || doc.location.href == s.iframeSrc) {
499 var isXml = s.dataType == 'xml' || doc.XMLDocument || $.isXMLDoc(doc);
501 if (!isXml && window.opera && (doc.body === null || !doc.body.innerHTML)) {
515 var docRoot = doc.body ? doc.body : doc.documentElement;
517 xhr.responseXML = doc.XMLDocument ? doc.XMLDocument : doc;
534 var ta = doc.getElementsByTagName('textarea')[0];
543 var pre = doc.getElementsByTagName('pre')[0];
544 var b = doc.getElementsByTagName('body')[0];
618 var toXml = $.parseXML || function(s, doc) { // use parseXML if available (jQuery 1.5+)
620 doc = new ActiveXObject('Microsoft.XMLDOM');
621 doc.async = 'false';
622 doc.loadXML(s);
625 doc = (new DOMParser()).parseFromString(s, 'text/xml');
627 return (doc && doc.documentElement && doc.documentElement.nodeName != 'parsererror') ? doc : null;