弹出模式对话框后将数据提交给服务器,在返回本页面。

引用:<base> 标签为页面上的所有链接规定默认地址或默认目标。
通常情况下,浏览器会从当前文档的 URL 中提取相应的元素来填写相对 URL 中的空白。
使用 <base> 标签可以改变这一点。浏览器随后将不再使用当前文档的 URL,而使用指定的基本 URL 来解析所有的相对 URL。这其中包括 <a>、<img>、<link>、<form> 标签中的 URL。
self 就是当前页面


提示:
1、如果你是IE6,你将<base target="_self"/>加入到<head>标签里就可以了,<head>标签任意位置)。
示例代码:
<html>
     <head>
           <title>test</title>
          
<base target="_self"/>
           .............
     </head>

</html>
2、如果你是IE7,你必须将<base target="_self"/>加入到<head>的标签内位置  , (对称中间位置)。
<html>   
<head>
          <title>test</title>
         <base target="_self"/>
         <script language="javascript" type="text/javascript" src="http://blog.163.com/happy_2010_zyj/blog/../ar/a.js"/>
    </head>

</html>

相关文章:

  • 2021-05-30
  • 2022-12-23
  • 2022-01-04
  • 2022-12-23
  • 2021-04-14
  • 2021-10-19
  • 2021-09-13
猜你喜欢
  • 2022-12-23
  • 2021-07-21
  • 2022-12-23
  • 2022-12-23
  • 2021-11-08
  • 2021-11-12
  • 2021-10-01
相关资源
相似解决方案