Try this, working fine
<script language="javascript" type="text/javascript">
function ValidateForm()
{
var Form=document.getElementById('frmname');
if(Form.txtCandidateName.value=='')
{
alert('Enter Name of Applicant ');
document.getElementById('txtCandidateName').focus();
return false;
}
return true;
function ConfirmALL(btn)
{
var gr1;
gr1= true;
if(document.getElementById("fldGraduation"))
{
gr1= false;
gr1= validationF();
}
if(!gr1)
{
return false;
}
if(confirm('Yes, I have Checked all the details.')){btn.style.display='none'; return true;}else{return false;}
}
</script>
<asp:Button ID="btnProceed" runat="server" Text="Proceed" OnClick="btnProceed_Click" OnClientClick="return ConfirmALL(this);" />
Make it answer if this is your solution, so that other can refer the solution.
Thanks