html页面:
<iframe src="right" name="rightFrame"  width="100%" scrolling="yes" frameborder='0' height="500"></iframe>javascript文件部分内容
var menuFile = new Ext.menu.Menu();
menuFile.add({text:'新建',handler:function(){location.target='rightFrame';location.href='addEc';} });
点击新建按钮时,直接跳转到新页面addEc,页面没有到location.target='rightFrame'这里显示,怎么解决?