在另一页上加载另一页html [英] load another page of html on another page

查看:66
本文介绍了在另一页上加载另一页html的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我有两页,如1.html和2.html。



我在1.html中有一个链接用于连接到2.html。

我想点击链接2.html重载1.html在表格> tr> td。



我不想打开它作为新页面。

Hi guys,

I have two pages like 1.html and 2.html.

I have a link in 1.html for connect to 2.html.
I want when i click on link 2.html reload on 1.html in table>tr>td.

I don''t want to open it as a new page.

推荐答案

你可以利用目标锚标签的属性。它具有在父窗口,自己的窗口或子窗口中打开链接的选项。
You can make use of the target property of the anchor tag. It has options of opening the link in either the parent window, own window or a child window.


这篇关于在另一页上加载另一页html的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆