Question concerning JavaScript, I know its php board
Posted: Tue Feb 25, 2003 9:19 pm
Hey, I know this is a PHP board but I figure that you guys all have some exp with JavaScript. Here is my question. On one of my websites there are three frames: One named title, another named nav, and another named main. On the nav frame there is a button that when clicked I want to open up a php page in the main frame.
I tried doing
<input type="button" value="Home" onClick="window.location='main.php'">
But as you probably know that just changes that frames location to main.php but I want it to change the frame main to that page.
Anyone have know how to do this?
Thanks for all help provided.
-Nigma
I tried doing
<input type="button" value="Home" onClick="window.location='main.php'">
But as you probably know that just changes that frames location to main.php but I want it to change the frame main to that page.
Anyone have know how to do this?
Thanks for all help provided.
-Nigma