[jQuery] Re: Treeview - Custom hyperlink click event

2009-10-17 Thread philsturgeon
to capture the event object (i.e. .click(function(theEvent) { });  ) and then make use of the .stopPropagation() method. Neither trick will do you any good if thetreeview'sevent handlers are fired before your event though. Some random thoughts.. Haven't tried any of this. Shawn philsturgeon

[jQuery] Treeview - Custom hyperlink click event

2009-10-11 Thread philsturgeon
I am trying to remove the default behaviour from the A within the Treeview structure. I want the +/- icons to continue to toggle but when a user clicks on the A I want to fire my own event. This event is currently firing fine, but it also fires the toggle behaviour meaning the tree still expands