how to update div tag in javascript with data from model for onsubmit form asp.net mvc
- by michael
In my page i have a form tag which submits to server ,gets data and redirects to same page.
problem is the the div tag which has the data from server is not getting updated. how to do that in javascript
<% using (Html.BeginForm("Addfile", "uploadfile", FormMethod.Post, new
{
id = "uploadform",
enctype = "multipart/form-data"
…