<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>jQuery cancel default action</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>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,<BR>
<BR>
(html anchor)<BR>
&nbsp; callback: [ ... ];<BR>
&nbsp; onClick: (html jQuery ajax script: [:s | ... ]) , (html javascript return: false)<BR>
<BR>
Suggestions?<BR>
<BR>
-Boris (via BlackBerry)</FONT>
</P>

</BODY>
</HTML>