Will the js onChange command work with php when using sessions. Currently i'm trying to refresh a page by using onChange=\"checkout.php?session=$session\"
The reason i'm trying to refresh this page is because after options have been selected i'd like to have them visible.
Here's the js i'm using.
PHP Code:
<select onChange="go(this)\">
<option name=\"no\" value=\"checkout.php?session=$session\"\">No</option>
<option name=\"yes\" value=\"checkout.php?session=$session\">Yes</option></select>
?>
Here's the php code i'm using
PHP Code:
if($yes){
$fee = $fee * 2.50;
}
Currently the page refreshes but the cart isn't visible only my header is, so i'm wondering if it may be a issue with session. I figure i'm probably missing something though.