Benjamin Allison
unread,Feb 28, 2012, 6:31:49 PM2/28/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to KnockoutJS
So I'm using a table for navigation. The td's have click events bound
to them, so I have a nice percentage based navigation. Inside the td's
is text but also checkboxes that are being used to enable/disable some
other feature.
Because the td is bound with a click event, clicking the checkbox
simply triggers the events bound to the td. In fact, the checkbox
doesn't even get checked. It stays unchecked.
Weirdly, when I alerted out an error, the checkbox does get "checked",
but when I dismiss the alert, it reverts back to its unchecked state.
Now, I've tried stopPropagation in jQuery – standard practice to
handle bubbling... but no dice. Are there special considerations when
binding to an element that's inside a bound element, specifically one
that is click bound?