function abcF(arguments){
var scope = this.getIframe()[0].contentWindow.document;
$("#testv",scope);
}
一般$()里面写的是一个selector,比如:$("#testv"); 如果写了两个selector,如本例的$("#testv",scope),请教大神这是什么意思呢,最好贴一个这方面资料的网址来下,谢谢啦
function abcF(arguments){
var scope = this.getIframe()[0].contentWindow.document;
$("#testv",scope);
}
一般$()里面写的是一个selector,比如:$("#testv"); 如果写了两个selector,如本例的$("#testv",scope),请教大神这是什么意思呢,最好贴一个这方面资料的网址来下,谢谢啦
就是在scrope指定的dom对象中查找选择器指定的对象,这个示例就是在iframe中查找testv,而不是在当前文档中查找