<a href="test.jsp" target="leftFrame">链接 </a>
普通的是这样
但用在按钮上不知怎么写
<input type="button" name="button" value="button" onclick="javascript:document.location.href='xxx.jsp'">
怎么让'xxx.jsp'页在框架左边显示呢?
普通的是这样
但用在按钮上不知怎么写
<input type="button" name="button" value="button" onclick="javascript:document.location.href='xxx.jsp'">
怎么让'xxx.jsp'页在框架左边显示呢?
<input type=submit>
</form>
function fff(){
document.form.action="xxx.jsp";
document.form.target="leftFrame";
document.form.submit();
}
</script>
<input type="button" name="button" value="button" onclick="fff()"/>末尾别少"/"