I am binding a model to a view in ASP.NET MVC. The model is a collection object. At my first submit I am getting the input values in my form collection.
After the form submit, I replacing the div in the from with a partial view
$.post("/formDetails/CheckValid", $('#Form').serializeArray(), function (htmlResult)
{
$('#divtoReplace').html('');
$('#divtoReplace').html(htmlResult);
}
But after replacing the div, I am unable to get the input values from the replaced div through the jQuery submit.
Please help me on sorting this issue.