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;
});
});