IE: Could not get the visibility property. Invalid argument.

Microsoft’s Internet Explorer never fails to amaze me – coding JavaScript and CSS for the IE is quite a challenge. The other day I tried to show/hide a table based on the value of a dropdown box. function hideUnhideDateFields() { var tarifScheme = document.getElementById(“dropdownTarifscheme”); var dateTable = document.getElementById(“dateTable”); if (tarifScheme && tarifScheme.value == “”) { […]