In this case my iFrame has an id of “myIframe” and my button is called “btnLoad” you can of course name them anything you wish.
<script> $("#btnLoad").click(function () { $("#myIframe").attr("src", "iFrameContent.html"); }); </script>
In this case my iFrame has an id of “myIframe” and my button is called “btnLoad” you can of course name them anything you wish.
<script> $("#btnLoad").click(function () { $("#myIframe").attr("src", "iFrameContent.html"); }); </script>
because anything is possible with Charisma
Maths, programming and Sad Keanu
Web, Family, Music and Soccer
My experience in web development
Warning: This blog contains Old Man Stories. Reader discretion advised.