Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JavaScript and IE 7 issue

 
Viralraj Upadhyay
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64843
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why are you changing the postion value?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64843
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With regards to your issue, no answer is possbile without information regarding your event handling.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic