iframe的name也设置成con
document.frames["con"].document.getElementById("edit")document.getElementById("con").contentWindow.document(IE是这个,FF忘了)