I have written the code for success message after submitting in database.But the code behind is not working and jquery is working.
Here is my code.
$(document).ready(function () {
$("#ContentPlaceHolder1_btnsubmit").live("click", function () {
$("#dialog").dialog({
autoOpen: false,
hide: "puff",
title: "Message",
buttons: {
Close: function () {
$(this).dialog('close');
var url = '../View/Home.aspx';
$(location).attr('href', url);
}
},
modal: true
});
return false;
});
});
1 Reply
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Upendra Pratap ShahiPosted Jun 23, 2015, 8:26 AM