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 Disable a radio button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Disable a radio button" Watch "Disable a radio button" New topic

Disable a radio button

river down

Joined: Dec 11, 2002
Posts: 21
How will you disable a radio button upon loading of the page....
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376
look at this
remove the _ from on_click

function DisableIt(x){
<form name="A">
<input type="radio" name="B" value="1" on_click="DisableIt(this)" >
river down

Joined: Dec 11, 2002
Posts: 21
Thanks a lot...I'll try that...though I pretty much figure out the solution my way ...but I can try if it does not work...thanks for the help...
I agree. Here's the link:
subject: Disable a radio button
Similar Threads
Radio buttons
Disable the radio button from radio button
ava script for diable/enable textbox and options with the help of radio button
radio button
Javascript Problem with onchange event