JQuery onclick do something ... after click alert
<p>I am using this code:</p>

<p><code>onclick="$('#default').click();"</code> ... is there any way to return an alert of something if it's done sucessfully?</p>

<p>Update:</p>

<p>There seems to be a proble here:</p>

<pre><code>onclick="$('#default').click( function() { alert('clicked'); });"
</code></pre>
