Hi Guys,
I have an query not sure how can achieve this, Basically I have input field when user click on save button it check for required validation and after it will check for name exist in database then it should display a modal popup yes or no, If it yes proceed
to save if no exit the function.
Below is limited code not sure how to achieve whether using Ajax or Jquery
HTML Code
<script type="text/javascript">
function validateAndConfirm(validated) {
if (validated) {
var txt;
var r = confirm("Press a button!");
if (r == true) {
txt = "You pressed OK!";
} else {
txt = "You pressed Cancel!";
}
return txt;
}
}
</script>
Name : <asp:TextBox I ...
Go to the complete details ...