I am developing a websurvey and getting some annoying IE only behavior. I have dropdowns with an OnChange() to either display or hide a table row, via javascipt, based on its value. When I select the dropdown value with the mouse to either hide or display the row the screens flashes quickly like a refresh. This does NOT occur when you select the dropdown using the keyboard. This only occurs in IE, Mozilla and Netscape are both nice and smooth, like IE using the keyboard. I put up an example of this at [url]www.pannatech.com/test/combotest.php
this is the function:
function chk4b01(field)
{
var allvname=field.name
var vlen=allvname.length-1
var basename=allvname.substring(0,vlen);
if (field.value==”2″)
{
document.getElementById(basename).style.display = ”;
}
else
{
document.getElementById(basename).style.display = ‘none’;
}
}
While a little annoyance, it adds up quickly if it occurs a bunch of times when you are going through a survey.
Any ideas?
I am really getting tired of IE annoyances when programming, it almost seems you are develping two products, one for ie and one for all other browsers.
Peter