TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
nirjharini pradhan
NA
94
22.4k
how can i get which button click in yes no alert message box
Feb 19 2016 6:40 AM
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
Reply
Answers (
3
)
How to implement enum from database
asp.net masterpage adminpage