Wrox Home  
Search P2P Archive for: Go

  Return to Index  

html_code_clinic thread: the READONLY property


Message #1 by "Mike Hushagen" <mikeh331@h...> on Wed, 13 Mar 2002 21:33:03
I am using Internet Explorer 5.5.  I cannot use the "disabled" property 
because i need to send the value of the radio button to the servlet when 
the user submits the form.
The only thing that i've found that sort of works is this: on mousedown 
call a function that pops up an alert message.  This keeps the user from 
clicking a different radio button with the mouse, but they can still 
change it using the keyboard.
Any suggestions?
Thanks!  -Mike H.

> Which browser are you using ?
> 
> At 21:33 13/03/02 +0000, you wrote:
> >I have a set of radio buttons that i want to make readonly.  I set the
> >property of the input fields to readonly like so:
> >
> ><INPUT READONLY TYPE="radio" name="junk" value="A"> A
> ><INPUT READONLY TYPE="radio" name="junk" value="B"> B
> ><INPUT READONLY TYPE="radio" name="junk" value="C"> C
> >
> >However, the user can still change it!
> >Any suggestions?
> >Thanks,
> >  -Mike
> >---
> >Change your mail options at http://p2p.wrox.com/manager.asp or
> >to unsubscribe send a blank email to 
> >$subst('Email.Unsub').
> 
> 

  Return to Index