This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes JavaScript and IE 7 issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "JavaScript and IE 7 issue" Watch "JavaScript and IE 7 issue" New topic

JavaScript and IE 7 issue

Viralraj Upadhyay

Joined: Nov 10, 2006
Posts: 22
I have a set of radio buttons. On a particular click I want to hide some of my drop down boxes in the form while I want them to show up on a different click.

On each radio button click i call one JS function.My JS function uses the following snippets

To hide

To show

The problem arises when i hit the same radio button twice. The boxes which ought to remain there disappear on the second click. Now if i click some other button and return the behavior is as expected. Only on two consecutive clicks it behaves abnormally.

This happens only on IE 7. On IE 6 everything works fine.
Any ideas?
[ June 28, 2007: Message edited by: Viralraj Upadhyay ]
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63231

Why are you changing the postion value?

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63231

With regards to your issue, no answer is possbile without information regarding your event handling.
Have you checked out Aspose?
subject: JavaScript and IE 7 issue
It's not a secret anymore!