Jquery- built-in confirm dialog
<p>The following code is working correctly on localhost, but not on the server.  I think 'confirm' is a kind of plugin function.</p>

<pre><code>var ask = confirm('Are you sure');
if (ask){
    $('.loading_gif').show();
    $('.delete_link').hide();
    return true;
}
else{
    return false;
}
</code></pre>

<p>I want to use some built-in function to do same thing. How can I do this?</p>

<p>Thank you</p>
