How to automatic PoPup JqModal after process
<p>I want to ask. How to get automatic pop up automatic after do something..</p>

<pre><code>if ($a!=NULL)
&lt;a href="javascript:$.modaldialog.error('&lt;?php echo $result; ?&gt;');"&gt;Success&lt;/a&gt;
&lt;pre class="prettyprint"&gt;
$.modaldialog.error('');
&lt;/pre&gt;
else
&lt;a href="javascript:$.modaldialog.error('&lt;?php echo $result; ?&gt;');"&gt;Failed&lt;/a&gt;
&lt;pre class="prettyprint"&gt;
$.modaldialog.error('');
&lt;/pre&gt;
</code></pre>

<p>but in that case. We must click succes first. I want to automatic without click that. and directly out the popUp.
Thank you.</p>
