How to open a web page in different div/frame using html? -


this question has answer here:

i have webpage has 3 frames, , want is, while clicking button of frame 1, want open web page in frame 2 area.

is possible? if yes how achieve that? , if no can div?

see below code

<body>     <a href="http:/www.google.com/" target="demo">click me</a> </body> 

in above code "demo" id of 'frame'.

as per understanding "google.com" page should open in frame has id "demo" here not happening.

can help?

thanks in advance

google has server-side code stops other websites opening http://www.google.com/ in iframe. it's stop people doing malicious purposes. change url different (http://www.example.com/) , see if works.


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -