[Seaside] jQuery cancel default action

Boris Popov, DeepCove Labs (SNN) boris at deepcovelabs.com
Mon Aug 16 19:32:23 UTC 2010

Is there a better (more elegant) way of cancelling default action of, say, an anchor when ajax is invoked? That is to support regular callback: when javascript is not available, but prevent page navigation when it is. At the moment I have,

(html anchor)
  callback: [ ... ];
  onClick: (html jQuery ajax script: [:s | ... ]) , (html javascript return: false)


-Boris (via BlackBerry)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20100816/b7999a53/attachment.htm

More information about the seaside mailing list