on my asp.net page, i have an inline frame and a commad button. When i press the command button, i want the inline frame to navigate to a website(http://www.gamespot.com)
What is the code to do that? PLEASE & THANK YOU
Printable View
on my asp.net page, i have an inline frame and a commad button. When i press the command button, i want the inline frame to navigate to a website(http://www.gamespot.com)
What is the code to do that? PLEASE & THANK YOU
If, for instance, the name of the frame was 'frmGameSpot' you could use this Javscript::)Code:<input type=button value="Click me" onclick="document.getElementById('frmGameSpot').location = 'http://www.gamespot.com';" />