aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "JavaScript and IE 7 issue" Watch "JavaScript and IE 7 issue" New topic
Author

JavaScript and IE 7 issue

Viralraj Upadhyay
Greenhorn

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
Marshal

Joined: Jan 10, 2002
Posts: 61430
    
  67

Why are you changing the postion value?


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

Joined: Jan 10, 2002
Posts: 61430
    
  67

With regards to your issue, no answer is possbile without information regarding your event handling.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JavaScript and IE 7 issue