Re: [Wt-interest] Question about click event

2008-11-27 Thread Anthony Roger Buck
Koen, Was this ever entered into the CVS? I am using a jslot to perform an onClick on a WAnchor where the return of the function is important as it causes the href to be followed or not. I.e: JSlot* s = new JSlot(l); s-setJavaScript(function(sender, event) { return false; });

Re: [Wt-interest] Question about click event

2008-11-21 Thread Koen Deforche
Hey Bin Tan, 2008/11/19 Bin Tan [EMAIL PROTECTED]: Hi, In Javascript, if the onclick handler of an anchor ends with a return true; clause, when someone clicks on the anchor, he will go to the destined page finally. But in Wt, the clicked event does not allow you to do that. I can use