hii
i create a alert message box using javascript here is the code:------------
function yesno() {
var confirm_value = document.createElement("INPUT");
confirm_value.type = "hidden";
confirm_value.name = "confirm_value";
$("#dialog1").dialog({
resizable: false,
buttons: {
Yes: function () {
$("[id*=btn1]").click({
});
$(this).dialog('close');
},
No: function () {
$(this).dialog('close');
}
}
});
document.forms[0].appendChild(confirm_value);
}
but i want if i click yes button some server side operation will be performed.so how can i get which button is clicked in my aspx.cs file.so that i will able to do some operation