On Wed, 2009-04-22 at 07:17 +0530, kranthi wrote:
> yeh an onclick event handler is required to achieve this. but as Shawn
> has suggested radio buttons are better in this case.
> 
> but then again if u want to disable/greyout the other input(like
> textboxes, other than the radio button itself) u'll hav to use onclick
> event handler for the radio buttons
> 
Not necessarily, you could use CSS to change the background colour:

input[checked=checked]
{
    set styles here
}


Ash
www.ashleysheridan.co.uk


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to