dynamically create iframe name
Posted: Thu Nov 02, 2006 10:41 am
Hi Everybody,
I have a problem. I dynamically load a website into an iframe. But once the iframe is filled the next time I target it, it opens the website in a new window.
When I put a second iframe on that page and once it filled the first one it targeted the second one it worked. That is why I need the name of the iframe to grow by 1 everytime it is loaded.
For example: iframe1, iframe2, iframe3
Any help is greatly appreciated.
I have a problem. I dynamically load a website into an iframe. But once the iframe is filled the next time I target it, it opens the website in a new window.
When I put a second iframe on that page and once it filled the first one it targeted the second one it worked. That is why I need the name of the iframe to grow by 1 everytime it is loaded.
For example: iframe1, iframe2, iframe3
Any help is greatly appreciated.