electricphp
Programmer
I have this little script that works fine in firefox but not IE:
it is invoked by
what could be the problem?
Code:
var dropdownIndex = document.getElementById('ship').selectedIndex;
var dropdownValue = document.getElementById('ship')[dropdownIndex].value;
document.getElementById("siteTotal").innerHTML = dropdownValue;
it is invoked by
Code:
<select name="shipvalues" id="ship" onChange="setFees();">
what could be the problem?