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)
Suggestions?
-Boris (via BlackBerry)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20100816/b7999a53/attachment.htm