Forum Moderators: open
I have an html file that creates 2 iframes (frame01 and frame02). They are initially empty. What I would like to do is when a user clicks on a link, I would like to have the contents of that html go into frame01. If they click on another link that contents would go into frame02.
Is it possible thru JavaScript to set the "focus" to the desired iFrame before receiving the html content that will go inside of it?
Thanks
Yes I am now using target= which has been the easiest for me. However we do have a future requirement that would require us to update content in multiple iframes.
I was looking at it from this viewpoint:
focus to iframe 1
send html from server
focus to iframe 2
send html from server
....
I'm not sure that this kind of thing can be done. Understand that I am not working in a PHP or ASP environment. We have our own environment talking to Apache Server. Our environment can output content to the browser as well as receive.