RIP Philo

Safari bug?

I can't find this one anywhere.

Safari can't hide/show a tr for me.

document.getElementById('myTR').style.display='inline' does not work.  I have read discussions that say to use

document.getElementById('myTR').style.display='' to show the TR element, and they say set the default display to something so that setting it to nothing means something. Still not working.

I am not a newb at this, but I am a newb with Safari.  Any pointers would be helpful.

My TR is wrapped properly in a table, by the way, and this works on Firefox and IE on both Mac and PC.
Permalink sickOfSafariBugs 
March 15th, 2007 2:25pm
Have you tried:

document.getElementById('myTR').style.display='table-row';

?
Permalink Send private email Wayne 
March 15th, 2007 2:32pm
Nope.  Not working.

According to this, it should:

http://www.quirksmode.org/css/display.html
Permalink sickOfSafariBugs 
March 15th, 2007 2:54pm
Maybe you have some kind of other problem...  try creating a really simple test page that shows/hides the TR in Safari.
Permalink Send private email Wayne 
March 15th, 2007 2:59pm
I think maybe my display/not display javascript as applied on another TR is overriding the one on the TR of concern.
Permalink sickOfSafariBugs 
March 15th, 2007 3:00pm
I am trying to selectively apply TR hiding/show and Safari doesn't understand to hide only one of the TR's, not both of them.  Strange.
Permalink sickOfSafariBugs 
March 15th, 2007 3:14pm

This topic is archived. No further replies will be accepted.

Other topics: March, 2007 Other topics: March, 2007 Recent topics Recent topics