Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/89.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 锚定标签未在一个框架内加载_Javascript_Jquery_Html - Fatal编程技术网

Javascript 锚定标签未在一个框架内加载

Javascript 锚定标签未在一个框架内加载,javascript,jquery,html,Javascript,Jquery,Html,我试图在一个特定的框架中加载锚定标记url。 我用谷歌尝试了多种选择。但是,没有得到正确的结果。 您能帮助我如何在一个特定的框架中加载href url吗 <!DOCTYPE html> <html> <body> <A href="index.html" target="display">Homepage</A> <FRAMESET cols="150,*"> <FRAME name="display" src=

我试图在一个特定的框架中加载锚定标记url。 我用谷歌尝试了多种选择。但是,没有得到正确的结果。 您能帮助我如何在一个特定的框架中加载href url吗

<!DOCTYPE html>
<html>
<body>
<A href="index.html" target="display">Homepage</A>
<FRAMESET cols="150,*">
   <FRAME name="display" src="main.html">
</FRAMESET>
</body>
</html


在现代网页中使用框架通常被认为是一个坏主意。但是,您可以使用本文中描述的技术来满足您的需要:


嗨,菲普斯。这是给Iframe的。上述代码不适用于框架