Max
Max

Reputation: 1334

Jquery form submit URL Char limit

Let's say, I have some hundred checkboxes, I select all and submit the form.

when I click on the button, I call a function, like,

function submitForm() {
    var allBoxes = .. //I have all the checkbox values here.
    $("#myform #allBoxes").val(allBoxes);
    $("#myform").submit();
} 

Due to the Character limit In URL, I am not able to submit in IE. Working fine in Firefox. Please suggest any alternative method to send limitless characters.

There is an alternative that if the button is named as submit, then it is fine. But I use different tiles, so I definitely need to use button.

Upvotes: 0

Views: 286

Answers (1)

Anand Thangappan
Anand Thangappan

Reputation: 3106

According to Microsfot it's 2048. Since they invented the web and since IE forces this lower value, it's the lowest common denominator.

http://support.microsoft.com/kb/208427

Under Firefox, I see people on the net reporting URLs of 0xFFFF working: http://forums.mozillazine.org/viewtopic.php?f=38&t=155648&start=0&st=0&sk=t&sd=a

Make POST request instead of a GET request !!

Upvotes: 1

Related Questions