Is there any callback function on click?
<p>Let's say I have the following link:   </p>

<pre><code>&lt;a  href="#shippingaddress" onclick="return validateBillingAddress(document.addressInput,'ADDR_CONTINUE_ACTION',event);" &gt;
</code></pre>

<p><strong>EDIT</strong><br>
<strong>i am using multi page approach to show different section(divs) as a page</strong>
in that validate function I am validating the form and if everything is ok then displaying a hidden <code>&lt;div&gt;</code> and after the <code>&lt;div&gt;</code> is visible <code>&lt;spans&gt;</code> are getting applied by jquery mobile framework, untill and unless that div is hidden there is no <code>span,</code> but as that div become visible jquery mobile gets applied on it and appended some spans..i need to access this spans :</p>

<pre><code>&lt;span&gt;blah&lt;/span&gt;
</code></pre>

<p>So I want to change the text of this <code>&lt;span&gt;</code> after the <code>click</code> event, because the <code>&lt;span&gt;</code> is displayed after the <code>click</code> event.</p>

<p>So is there any way to do this?</p>
