I am needing further help following this topic http://bytes.com/topic/javascript/an...on#post3493808
The following code should refresh another frame upon submit of the form, but does not.
What is wrong with the code?
The following code should refresh another frame upon submit of the form, but does not.
Code:
<body>
<?php
if (isset($_POST['submit'])) {
?>
<script type="text/javascript">
window.onload = function() {
parent.frameName.document.location.reload();
}
</script>
<?php
}
?>
<select name="choice">
<option value="style" selected>Style 1</option>
<option value="style2">Style 2</option>
</select>
<input type="submit" value="Go">
</form></div>
</body>
Comment