 <p>I think the problem is how you are putting the origname and newname in the ajax request. Try this:</p> <pre><code>var origname = $('#NameDiv').find('input[name="myName"]').first().val(); var newname = $('#NameDiv').find('input[name="updatedName"]').first().val(); $.ajax({ url: 'Home/ChangeName', type: "POST", data: $("#form1").serialize() + "&amp;origname =" + origname + "&amp;newname =" + newname, success: function (result) { success(result); } }); </code></pre>