jquery ajax call in confirm button
<p>Hi I written the ajax call inside if(confirm.... condition but it is not going to my ajax page. If i write  $.get outside of if(confirm(.... then it is working fine.</p>

<p>What is the problem. please tell me some one.</p>

<pre><code>function ConfirmSave() {    
    if (confirm("Do You Want to Save the test?")) 
    {          
        $.get('../Common/Ajax.aspx',{action:"UpdateExamDuration",UserExamMapID:UserExamMap});        
    }                
    document.location.href = "../Reports/Report-Card.aspx";       
}
</code></pre>
