this is not working, i’m not even getting the alert message and when i submit i don’t want to redirect to another page, i just want to show the alert message. because we are doing an async task we will likely be providing our users with a more enjoyable ui experience.
in this specific case we are doing a form submission using ajax. a default html/asp.net webform/php/python or any other form action is to “submit” which is a post action. sometimes however with http you might want a different action and would likely want to utilitize .ajax.
im trying to submit a html form using ajax using this example.my html code: