ill try to reload my page again after alert. the problem is when i click ok my prompt show again then i need to verify the number again and back to alert again.
- $(document).ready(function () {
- var contact = prompt("Please input contact number if you are already customer");
- $.ajax({
- url: '@Url.Action("getclientbycontactnumber", "client")',
- data: { contactNumber: contact },
- success: function () {
- alert("Success");
- window.location.reload();
- }
- });
- });
Ramesh PalanivelPosted Sep 26, 2019, 1:46 AM
Denmark PusoPosted Sep 25, 2019, 9:16 PM
Bidyasagar MishraPosted Sep 25, 2019, 9:55 AM
Ramesh PalanivelPosted Sep 25, 2019, 6:49 AM