- var jq = jQuery("#nothiddendivchild", document.body);
- isSet( jq.closest("html").get(), [], "Context limited." );
- isSet( jq.closest("body").get(), [], "Context limited." );
- isSet( jq.closest("#nothiddendiv").get(), q("nothiddendiv"), "Context not reached." );
+ var jq = jQuery("#nothiddendivchild");
+ isSet( jq.closest("html", document.body).get(), [], "Context limited." );
+ isSet( jq.closest("body", document.body).get(), [], "Context limited." );
+ isSet( jq.closest("#nothiddendiv", document.body).get(), q("nothiddendiv"), "Context not reached." );