When I select a value from a dynamically generated drop-down list only the frame that contains the form is being reloaded with the changed variable. Along with top I've tried parent with no success.
This code is in an include statement in one of the frames of the frameset:
<?php
// create SQL statement
$result = mysql_query("SELECT cname,machid FROM inventory WHERE clientid='$clientid'");
echo " <select name=\"machid\" onChange=\"this.form.submit('_top')\">\n";
while ($myrow = mysql_fetch_array($result)) {
echo ' <option value="'.$myrow["machid"].'">'.$myrow["cname"]."</option>\n";
}
echo " </select>\n";
?>