Div 部分刷新 利用iframe刷新div 利用AJAX刷新部分div
Div 部分刷新
利用iframe刷新div
利用AJAX刷新部分div
一般的WEB页面,当用户访问时,会按需请求一个新页面,而这个新页面很大一部分的内容其实跟原页面是相同的,无非是某一行内容,或者某一小块内容要被刷新,这时候如果把整个页面再重新请求一遍,就很不划算,这时候我们可以使用一种部分刷新方法,就是使用HTML的 iframe 标签。
iframe 元素会创建包含另外一个文档的内联框架(即行内框架)。这个标签的可用属性如下:
其中我们需要注意的是一个 src 属性,它指定了在这个iframe块中你要用于显示的原代码。 例如:
好,下面我们就可以用JAVASCRIPT改变iframe块的内容,来实现页面的部分刷新了,示例代码如下:
should be conducted in the presence of the supervisor. (7) monitoring instruments and equipment should be checked and corrected after installation, Embedment, and submit calibration reports. Supervision inspection acceptance shall be measured immediately after reading initial values. (8) each measuring point for each observation section within 14 days after planting, to submit their research laid the table control. (9) in the course of construction, all monitoring equipment should be protected, the supervisor requested protection area shall provide protective cover and logo. 10.5.2 surface deformation monitoring (1) surface deformation monitoring point Pier in-situ reinforced concrete Pier, the pier above the ground 1.2m, in undisturbed soil or bedrock (native) deep 1.0~1.5M. (2) the pier top of forced centering plate. (3) when planted, forced centering plate should be horizontal, angle not greater than 4 '. 10.5.3 level monitoring point (1) in the standard location monitoring points around the reserve pit formwork, aspect to facilitate in the leveling of the pit shall prevail. (2) the standard markers together with the accessories insert the bottom has not been final set in advance concrete, exposed bottom concrete
1 <%@ Page Language="C#" AutoEventWireup="true" %>
2 //...
3
5
Lesson 1 - Demo 1 - IFrame "Ajax"
6
13
14
15
26
27
28