This works great except for 2 things:

1) I'll have multiple sets and multiple "extrastuff" divs to toggle.
2) I'm going to use this on a form that will be preloaded with data
(an edit form) and will set the radio buttons appropriately based on
what was previous selected onload.  Your example with change() toggles
based on what was checked by default.  I only want Lease to show() and
Sale to hide().

Thanks for your help,
Kevin

On 11/30/06, Mike Alsup <[EMAIL PROTECTED]> wrote:
> > Since I'm dealing with two separate elements, do I need two click events?
>
> For simple two-button radio groups you could do:
>
> $('#test :radio').change(function() {
>     $('#extrastuff').toggle();
> });
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>


-- 
Kevin Old
[EMAIL PROTECTED]

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to