Hi
This is a sample of my test page :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>TEST</title>
<meta http-equiv="Content-Language" content="English" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="css/style.css" media="screen" />
</head>
<body>
<div id="storage" style="display:none;">
</div>
<div id="wrap">
<div id="header1">
<div style="float: right;">
| <a href="settings.php" target="content">SETTINGS</a> | <a href="index.php">HOME</a> |
</div>
PAGE TITLE
</div>
<br>
<div id="left">
<h2><b>Navigation:</b></h2>
<div class="box">
<ul>
<li><a href="menu1.php" target="content">Menu 1</a></li>
<li><a href="menu2.php" target="content">Menu 2</a></li>
<li><a href="menu3.php" target="content">Menu 3</a></li>
<li><a href="menu4.php" target="content">Menu 4</a></li>
<li><a href="menu5.php" target="content">Menu 5</a></li>
</ul>
</div>
</div>
<div id="content">
<iframe src="home.html" width="100%" height="100%" frameborder="0" scrolling="auto" name="content"> -
</iframe>
</div>
<div id="footer">
<div style="float: right;">$_SESSION['ip']
| <a href="mailto:me@domain.com" title="Contact Me"><img src="images/contact.gif" alt="Contact" /></a> |
</div>
| Copyright © |
</div>
</div>
</body>
</html>
Looking at the last DIV:
<div id="footer">
<div style="float: right;">$_SESSION['ip']
| <a href="mailto:me@domain.com" title="Contact Me"><img src="images/contact.gif" alt="Contact" /></a> |
</div>
| Copyright © |
</div>
is there any simple way I can refresh this DIV when I submit a form on another page ? The form page is loaded in the 'content' div.
The aim being as the form is submitted and the session['ip'] is updated the footer div shows the correct ip address !
Thanks 🙂
Thanks