日期:2014-05-17  浏览次数:20835 次

iframe1中linkbutton1单击,iframe2网页改变,且linkbutton1外观改变
如果用 <a   target= "... "   src= "... "   .....> ... </a> 的话似乎不容易改变外观(如背景色,字体色等)

尝试在.aspx.cs中加入如下代码(脚本,5555……)
Response.Write( " <script> parent.frames[ 'nif_p '].src= '????.aspx '; </script> ");
Response.Write( " <script> parent.frames[ 'nif_p '].location.reload(); </script> ");
没有效果.
请问怎么办。

------解决方案--------------------
Response.Write( " <script> parent.frames[ 'nif_p '].location= '????.aspx '; </script> ");
------解决方案--------------------
location是执行
src是给值