This solved my problem. Thank you.

On Jan 8, 2008 2:37 PM, Alessandro Feijó <[EMAIL PROTECTED]> wrote:

> Why dont you use .click trigger?
>
>
> Something like
>
> $("#precheck").click(
>                 function () {
>                       $(".preregbox").toggle('slow');
>                 },
>               );
>
>
>
>
>
> On Jan 8, 2008 4:05 PM, jpl80 <[EMAIL PROTECTED]> wrote:
>
> >
> >
> > I'm having a problem with toggle() and was hoping someone could help
> > me. Using the toggle function on a checkbox seems to have disabled the
> > checkbox's ability to check on and off.
> >
> > http://tinyurl.com/yo9onz http://tinyurl.com/yo9onz
> >
> > My code:
> >
> >
> > $(document).ready(function(){
> >  $("#precheck").toggle(
> >     function () {
> >        $(".preregbox").show('slow');
> >     },
> >     function () {
> >        $(".preregbox").hide('slow');
> >     }
> >  );
> > });
> > --
> > View this message in context:
> > http://www.nabble.com/toggle-function-on-checkbox-tp14695340s27240p14695340.html
> > Sent from the jQuery General Discussion mailing list archive at
> > Nabble.com.
> >
> >
>
>
> --
>
> baita abraço
> Feijó

Reply via email to