Thread: Problem in IE
View Single Post
  #1 (permalink)  
Old 10-11-2007, 06:43 AM
krishnakumar krishnakumar is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 206
krishnakumar is on a distinguished road
Question Problem in IE

Hi all,

My following code is working fine in Firefox. But not in IE. Can anybody help me?

Code:
function show(rid)
  {
    current=(document.getElementById(rid).style.display == 'none') ? 'block' : 'none';
  	if (document.getElementById(rid).style.display=='') current='block';
    document.getElementById(rid).style.display = current;
  }
__________________
Krishnakumar.S
Beware of Everything -that is un true; stick to the Truth shall succeed slowly but steadily
Reply With Quote
Sponsored Links