I have to change statecode on the form and get instantly response. I did succesfully, but I have a problem. If I need to get instantly response from form, I need to write
window.location.reload(true);
But when I trigger the code repeatly, I got an error
To Display the webpage again, Internet Explorer needs to resend the information you've previously submitted.
I used
location.href = location.href
But form did not postback so I did not get instantly response. I need to solve it in Javascript. How can I solve it?