S
Santoshmshinde_it
please tell me what is the problem in this code if i am click OK or
Cancel same function get executed.
<script language="javascript">
function ConfirmAddRecords()
{
var agree;
window.confirm("Are U sure to save Records");
if (agree==true)
{
true ;
}
else
{
false ;
}
}
</script>
regards
Santosh Shinde
Cancel same function get executed.
<script language="javascript">
function ConfirmAddRecords()
{
var agree;
window.confirm("Are U sure to save Records");
if (agree==true)
{
true ;
}
else
{
false ;
}
}
</script>
regards
Santosh Shinde