I have this Javascript code:
function pickPaymentType()
{
if(document.forms[0].paymentType.value!='P')
{
document.getElementById('id').style.visibility='visible';
document.getElementById('id').style.position='relative';
}
else
{
document.getElementById('id').style.visibility='hidden';
document.getElementById('id').style.position='absolute';
}
}
The position and visibility of the DIV section works fine in Firefox. But in IE, the position changes fine when I call this function from a dropdown list but the div is not visible even when it is set as visible.
Bookmarks