I'm doing an assessment that requires the use of frames and php and am currently having trouble trying to submit a form from the left frame to the right without it refreshing the whole frameset
At the moment I can search for the product and have it display the correct information, but I would like to be able to search from the left frame and display it on the right.
Update
I do want the product page to refresh once I post the form, just not the whole frameset.
index.php:
<!DOCTYPE html>
<html>
<FRAMESET COLS="25%,75%">
<FRAME name="left" SRC="menu.php">
<FRAMESET ROWS="50%,50%">
<FRAME name="topright" SRC="product.php">
<FRAME name="bottomright" SRC="cart.php">
</FRAMESET>
</FRAMESET>
</html>
menu.php:
<!DOCTYPE html>
<html>
<body>
<center>
<form action="product.php" target="topright" method="post">
Enter Product ID: <br>
<input type="text" name="id"><br>
<br>
<input type="submit" value="Search">
</form>
</center>
</body>
</html>