PDA

View Full Version : checkbox click event in view



oregontarheel
7 Aug 2007, 8:20 AM
I have a view template that has a checkbox in it. I have my view set up with an on click handler that re-evaluates the selected nodes and marks them with checkboxes. This all works great, except when the user clicks in the actual checkbox area of the view node. The node gets selected by the view but then the checkbox gets wiped out after my "checking" function runs. It appears to be related to the browser's own handling of the checkbox click event but I can't figure out how to stop it. I've tried e.stopPropagation() and e.preventDefault() and neither worked. Any ideas how to resolve this or suggestions to help me debug? i know it's probably fairly specific