Reputation: 81
I have a simple html form like:
<form id="form1" method="post" target="_self">
<input type="text" name="lastname">
<input type="submit" value="Register" />
<form>
I want to replace the whole of this same page with just a success message from the server, which will also show 'lastname' that was send. Is there a simple way to do it with from the server side? (asp.net forms application)
Thanks a lot
Liron
Upvotes: 0
Views: 71
Reputation: 124
For message and lastname you can pass a query string and display message and another way to submit form using ajax call.
Upvotes: 1