4
rated 0 times
[
7]
[
3]
/ answers: 1 / hits: 5094
/ 10 Years ago, tue, july 29, 2014, 12:00:00
So I have a javascript file that works and is triggered by an html button. The problem is, I am trying to make it so that, when the button is clicked, the game will appear inside an iframe window. How can this be achieved?
HTML:
<input id=clickThis type=button value=JavaScript Game onclick=this.disabled='disabled'; target=jsgame; thatFunction(); />
<iframe name=jsgame id=jsgame width=700px height=700px> </iframe>
More From » html