javascript主页面获取子页面元素
功能:主页面获取子页面的form表单,并提交。
$("#showAllDescription", document.frames("treeFrame").document).submit();
//showAllDescription为子页面元素的id
//treeFrame为子页面ireame的nma
功能:主页面获取子页面的form表单,并提交。
$("#showAllDescription", document.frames("treeFrame").document).submit();
//showAllDescription为子页面元素的id
//treeFrame为子页面ireame的nma