刷新frame

简介: 刷新frame
//刷新frame 通过和替换iframe的src来实现局部刷新
parent.document.getElementById("whole_Frame").src = '${ctx}/apAnalysis/analysisWhole?pageNo='+p;
//刷新父级frame11,
parent.frame11.location.reload()
document.frames("frameName").location.reload();
语句1. window.parent.frames[1].location.reload();
语句2. window.parent.frames.bottom.location.reload();
语句3. window.parent.frames["bottom"].location.reload();
语句4. window.parent.frames.item(1).location.reload();
语句5. window.parent.frames.item('bottom').location.reload();
语句6. window.parent.bottom.location.reload();
语句7. window.parent['bottom'].location.reload();
function clickButton(){
  var text = document.getElementById("name1").value;
  var frame = document.getElementById('frame1');
  frame.src="table.jsp?text="+text;
}
<iframe src="table.jsp" id="frame1" frameborder="0" marginheight="0" marginwidth="0" height="700" width="100%"></iframe>
$('iframe').attr('src',url);//加载


相关文章
|
2月前
|
Python
update_frame 图象刷新
update_frame 图象刷新
13 4
|
5天前
|
7月前
刷新屏幕Cell 的一些方法
刷新屏幕Cell 的一些方法
31 0
|
9月前
UE4 使用Animation Data Modifiers修改动画片段
UE4 使用Animation Data Modifiers修改动画片段
59 0
UE4 使用Animation Data Modifiers修改动画片段
|
9月前
av_seek_frame实战--跳转到文件指定时间后开始推流或写入新文件
av_seek_frame实战--跳转到文件指定时间后开始推流或写入新文件
79 0
av_seek_frame实战--跳转到文件指定时间后开始推流或写入新文件
|
9月前
|
算法
frame_size (1536) was not respected for a non-last frame
frame_size (1536) was not respected for a non-last frame
60 0
frame_size (1536) was not respected for a non-last frame
X-Frame-Options头是在HTML页面设置的吗?
X-Frame-Options头是在HTML页面设置的吗?
190 0
UIRefreshControl代码刷新
UIRefreshControl代码刷新
54 0