关于frameset分成4个部分的问题
<frameset rows= "62,* " frameborder= "0 " border= "0 ">
<frame name= "banner " src= "../tlerp/ll_xt_F_top.aspx " scrolling= "no " noresize>
<frameset framespacing= "1 " rows= "400,* " border= "20 " >
<frameset framespacing= "1 " cols= "230,* " border= "1 " id= "ckset " name= "ckset ">
<frame name= "ck_left " target= "_self " src= "../tl_ph/yx_cl_mdspsjcl_left.aspx " scrolling= "yes ">
<frame name= "ck_main " src= "../tl_ph/yx_cl_mdspsjcl_main.aspx " target= "_self ">
</frameset>
<frameset framespacing= "1 " cols= "230,* " border= "1 " id= "spset " name= "spset ">
<frame name= "sp_left " target= "_self " src= "../tl_ph/ty_phck_sptree.aspx " scrolling= "yes ">
<frame name= "sp_main " src= "../tl_ph/ty_phck_sptable.aspx " target= "_self ">
</frameset>
</frameset>
<noframes>
<pre id= "p2 ">
</pre>
</noframes>
</frameset>
我想要的结果是ck_left中操作驱动sp_main中的某些值,
比如说,我想再ck_left中给sp_main中的某个控件赋值
这个写法怎么写?
------解决方案--------------------可以用javascript来实现楼主的需求:
ck_left中操作驱动sp_main
===>
在ck_left中,引用sp_main中的页面,
//引用sp_main中的页面
var sp_main = self.parent.frames[ 'ck_main '];
//然后可以用如一语法操作sp_main中的页面的表单
//sp_main.document.getElemntById( " ").value = " ";