Moti Mashiah
asked on
asp.net mvc4
Hi All,
I Implemented webapp with asp.net mvc4.
I have form with submit button that when users click on it they save all the data they filled up in the form. what I would like to do is when user click on submit then submit will grey out or disable until the process of saving data finish. The issue I experience now is users click on submit many times and created duplicated data.
Here is what I was trying to do:
this.disabled = true; this.value = 'Creating PO, please wait....'; this.form.submit()
This code above works but he doesn't save all my form as in my server side i need to pass param.
Here is my submit button:
<input type="submit" name="command" value="Submit" id="Submit" class="btn btn-sm btn-primary" />
I Implemented webapp with asp.net mvc4.
I have form with submit button that when users click on it they save all the data they filled up in the form. what I would like to do is when user click on submit then submit will grey out or disable until the process of saving data finish. The issue I experience now is users click on submit many times and created duplicated data.
Here is what I was trying to do:
this.disabled = true; this.value = 'Creating PO, please wait....'; this.form.submit()
This code above works but he doesn't save all my form as in my server side i need to pass param.
Here is my submit button:
<input type="submit" name="command" value="Submit" id="Submit" class="btn btn-sm btn-primary" />
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks solved
Redirect After Post
http://www.theserverside.com/news/1365146/Redirect-After-Post