Can someone please show me how to get a combo box value in FF?
With IE7, I can use this:
None of these work with FF. Why???
With IE7, I can use this:
Code:
var comboVal = document.getElementById("combo1").value;
OR
var selIndex = document.getElementById("combo1").selectedIndex;
comboValue = document.getElementById("combo1").options[selIndex].value;
OR
var combo1 = document.getElementById("combo1");
var comboValue = combo1.options[combo1.selectedIndex].value;
None of these work with FF. Why???