Hi,
First-timer here. Have JS that works in Safari, IE but not FF.
Very simple code:
<script>
function callFunction()
{
if (eb.TobaccoProds.checked == true)
{
eb.action = "step2.php";
}
else
{
eb.action = "passthrough.php";
}
}
</script>
<form id="eb" name="ebr" method="post" action="" onsubmit="return callFunction();">
When user clicks (or doesn't click) checkbox in form, the JS sends them to either page above.
FF error console tells me that eb is not defined.
eb isn't a var, so should not be defined.
Any help would be great, thx.