Would returning false on the event for the checkbox cancel the click event from bubbling up to its parent?
JK -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Jörn Zaefferer Sent: Sunday, March 02, 2008 12:38 PM To: [email protected] Subject: [jQuery] Re: Treeview with checkboxes [EMAIL PROTECTED] schrieb: > I'm using a jquery.treeview as an input device. So I have nodes > rendering using > > <li class="closed"><span class="folder"><input ...type="checkbox" > value="32" />DisplayName</span> > > This works fine *except* that a click on the checkbox also falls into > the hit area, so checking or unchecking a folder also expands or > collapses the folder. Any way to prevent the checkbox from being > included in the hit area? > See this ticket: http://dev.jquery.com/ticket/2360 It contains a patch, haven't gotten around to commit and release it. Jörn

