In Internet Explorer JavaScript does not show what is expected.

I

inforonment

Hi,

On my web-site I use javascript to hide-show text fields. All text-
fields are hidden by default. User can display text-field by clicking
">>". And then user can hide the text-filed by clicking "<<".

In Firefox everything works as described. However, in the IE instead
of "<<" I see only "<". Can anybody help me to fix the bug.

The site is here: http://www.infoment.org/index.php?q=72.174

Thank you in advance.
 
R

RobG

Hi,

On my web-site I use javascript to hide-show text fields. All text-
fields are hidden by default. User can display text-field by clicking
">>". And then user can hide the text-filed by clicking "<<".

In Firefox everything works as described. However, in the IE instead
of "<<" I see only "<". Can anybody help me to fix the bug.

The site is here:http://www.infoment.org/index.php?q=72.174

Instead of toggling between 'inline' and 'none', go between '' (empty
string) and 'none'. Using '' allows the element to return to its
default display value, whatever it is.
 
T

Thomas 'PointedEars' Lahn

On my web-site I use javascript to hide-show text fields. All text-
fields are hidden by default.

I do hope that with "by default" you mean "per the onload event handler of
the body element". Otherwise nobody can use your document without
scripting.


PointedEars
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,190
Members
46,740
Latest member
AdolphBig6

Latest Threads

Top