 <p>I just made <code>cache:false</code> in ajax and code worked.</p> <p>It was as follows:</p> <pre><code> $.ajax({ type: "POST", url: "/Company/validateForm", cache:false, dataType: "json", data: { 'txtCompanyName': txtCompanyName, 'txtCompanyContactPerson': txtCompanyContactPerson, 'txtCompanyPhone': txtCompanyPhone, 'txtCompanyFax': txtCompanyFax, 'txtCompanyEmail': txtCompanyEmail, 'txtCompanyWebsite': txtCompanyWebsite, 'txtZipcode': txtZipcode, 'txtCountry': txtCountry, 'txtAddress1': txtAddress1, 'txtAddress2': txtAddress2, 'txtCompanyRegNo': txtCompanyRegNo } , success: function (responceMessage) { if (responceMessage != "0") { alert(responceMessage); } else { saveCompanyInformation(); } }, error: function () { alert('failure'); } }); </code></pre>