wgrk.net
ǰλãҳ >> iFrAmE jsʧЧ >>

iFrAmE jsʧЧ

ԭjs庯ʱ򣬲ܶΪjQuery $Ϳ

jsܿ

iframe֮jsѹûأiframeŵjs֮ͿԳɹִjsļˡ

ڵǰҳJSʱôд document.getElementById("kj").; ݣ ǰҳJS룺alert(document.getElementById("kj").getElementById("ipt").value);

Կһ´ã DzǶ̬صjsĵδ

var xxx= window.frames['a']; xxx.document.write("alert('xxx')"); Ҫ window.frames['a'] document.getElementById('a') ; ֻҪdocument.writeҪdocument.body.write

һȥȫĹ һ iframe һscrollingԣ auto , yes , no ֵ scrolling : auto -----Ҫʱ scrolling : yes ------ʼʾ scrolling : no -------ʼع scrolli...

ʹԣ window.parent.document.getElementById('tops').src = 'http://www.baidu.com'; alert(window.parent.document.getElementById('tops').src);

ʵiframeڲҳֱӵøiframeԶ庯ķ AڣAиIFRAME BBװصCҳ棬ʱCҪֱӵAһԶ庯AFUN(); ôֻҪCҳдJSͿˣ window.parent.AFUN(); AF...

Եõġ һѸij ֱӸijBUTTONʱ ʾvoid(0)κclick¼

վҳ | վͼ
All rights reserved Powered by www.wgrk.net
copyright ©right 2010-2021
磬ַϵͷzhit325@qq.com