$('#button1').click(function(){
window.location = "/Home/GetCustomers?" + $('#myForm').serialize();
});
Is using window.location subject to querystring size limitation? For instance, if my form has many parameters to serialize?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Window.location can’t be longer than whatever URL length limit the user’s browser enforces. This varies from browser to browser; the shortest one is Internet Explorer, which is 2083 characters.