i have develop a small asp.net web application in this i have a in this buttob i am using onclick event for page redirect to another page
<a class="details-link" data-role="listview-link" onclick="AfterChangestatus('<%=Getstatus[0] %>')"><%=Getstatus[1] %></a>
function AfterChangestatus(DocStatusvalues) {
$("#place_of_loading_image").show();
window.location.href = "AppointmentDetails.aspx?changedropdown=" + DocStatusvalues;
}
this is working for me.
Now i want add conform message box in the same a href with button yes/no ,when i click yes it will redirect to the page else it will stay on that page and close the pop window
is it possible please help me..
Try this: