Sean

 

Well if $(":checkbox").click() works can I say $(":this").click() to check
the checkbox?

 

Do you know of a good place to learn more about using ":" and all those
other characters listed in the docs?

 

Mitch

 

PS How do you unclick?

 

From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sean Catchpole
Sent: Sunday, August 05, 2007 2:18 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Turning a checkbox on and off

 

Mtich,

I like to toggle checkbox states by emulating a click. This allows for any
bound events to also trigger.
$(":checkbox").click()

~Sean

Reply via email to