Nov 1, 2007 #1 ironhide1975 Programmer Joined Feb 25, 2003 Messages 451 Location US How do I tell an iFrame (inside frame) to load another page with an onClick?
Nov 1, 2007 #2 feherke Programmer Joined Aug 5, 2002 Messages 9,541 Location RO Hi Code: [gray]...[/gray] <a href="another.htm" target="inside" onclick="alert('Why the onclick ?')">load</a> [gray]...[/gray] <a href="#" onclick="inside.location.href='another.htm'">whatever</a> [gray]...[/gray] <iframe name="inside"> [gray]...[/gray] Feherke. http://rootshell.be/~feherke/ Upvote 0 Downvote
Hi Code: [gray]...[/gray] <a href="another.htm" target="inside" onclick="alert('Why the onclick ?')">load</a> [gray]...[/gray] <a href="#" onclick="inside.location.href='another.htm'">whatever</a> [gray]...[/gray] <iframe name="inside"> [gray]...[/gray] Feherke. http://rootshell.be/~feherke/