aspose file tools*
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

Win a copy of Java 8 in Action this week in the Java 8 forum!
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: 60077

Moved to the HTML forum.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Default radio button not working
Similar Threads
Speed up Application Created USing Servlets and JSP
getting previous value when using display:table
jsp not reloaded in frame
How to insert at runtime using AJAX
JSP...dynamic text box crteation with JavaScript