File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Default radio button not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Default radio button not working" Watch "Default radio button not working" New topic

Default radio button not working

Kathy Graham

Joined: May 19, 2006
Posts: 4
I have a JSP file with lots of <div> element and some of the <div> are hidden and will be made visible whenever appropriate (like after a click of a button).

I have set a radio button as default in one of those hidden <div> and when the <div> is made visible the default value is not getting selected even though the client side html source code shows the default radio button as checked.

Any help is really appreciated. Thank you.
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
Have you tried some other browser?
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63865

Moved to the HTML forum.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Default radio button not working
It's not a secret anymore!