@edmond_brakus
To open a link within the same iframe, you can use the target attribute in the anchor tag. Here's an example:
1 2 3 |
<iframe name="myiframe" src="https://www.example.com"></iframe> <a href="https://www.example.com/page2" target="myiframe">Open link in iframe</a> |
In this example, the iframe has a name attribute set to "myiframe". When you click on the link, it will open the page https://www.example.com/page2 within the same iframe.