hi ,
From C# i'm call javascript function which shows the confirmation msg with okie and cancel buttons. Here is the script. So when i click on okie i want to raise click event without clicking on button. Please help me.
<script type="text/javascript">
function myfunction() {
var result = window.confirm("Effective Date is Changed. Do you want to search the details under this date??");
if (result) {
alert("Okie");
// raise button click without clicking on button
}
else {
alert("Cancel");
}
}
</script>