Re: Re: checkboxes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux