Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > In Internet Explorer JavaScript does not show what is expected.

Reply
Thread Tools

In Internet Explorer JavaScript does not show what is expected.

 
 
inforonment@gmail.com
Guest
Posts: n/a
 
      01-20-2009
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.
 
Reply With Quote
 
 
 
 
RobG
Guest
Posts: n/a
 
      01-20-2009
On Jan 20, 1:20*pm, inforonm...@gmail.com wrote:
> 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.

--
Rob
 
Reply With Quote
 
 
 
 
Thomas 'PointedEars' Lahn
Guest
Posts: n/a
 
      01-20-2009
wrote:

> 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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet Explorer 8: C:\Program Files\Internet Explorer\iexplore.exe vs C:\Program Files (x86)\Internet Explorer\iexplore.exe Nathan Sokalski Windows 64bit 16 02-22-2010 08:31 AM
internet explorer 7 - Internet Explorer cannot display the webpag sandy j Windows 64bit 0 05-02-2009 02:12 AM
Internet Explorer does not connect to the internet dimension89 Computer Support 1 10-21-2006 02:03 AM
internet explorer will not show up after download Boomer Computer Support 1 05-12-2004 01:27 AM
can surf in Windows Explorer not Internet Explorer Billh Computer Support 0 05-02-2004 08:47 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57