title: jquery ajax character limit
body: <p>Is there a limit on URL-Length or on Parameter-Length while doing from <code>$.ajax</code>?</p>
  
  <p>below is my code, in which <code>var extract</code> could be length of 5000 characters, and two of them could be 128 chars length. </p>
  
  <pre><code>    $.ajax({
          url:  "addObligationDraft?account.id="+aId+"&amp;extract="+extract+"&amp;groupForId="+groupForId+"&amp;groupFor="+groupFor+"&amp;TAndD="+TAndD+"&amp;fg="+fg+
          "&amp;frequency="+frequency+"&amp;subType="+subType+"&amp;startDate="+startDate+"&amp;completionDate="+completionDate+"&amp;ownerUserId="+ownerUserId+
          "&amp;ownerManagerUserIdValue="+ownerManagerUserIdValue+"&amp;financial="+financial+"&amp;trigger="+trigger+"&amp;actionType="+actionType+"&amp;financialPenalty="+financialPenalty+
          "&amp;approvalRequiredMessage="+approvalRequiredMessage+"&amp;transitionMilestoneMessage="+transitionMilestoneMessage+"&amp;responsibilityListId="+responsibilityListId+
          "&amp;contractName="+contractName+"&amp;phaseListId="+phaseListId+"&amp;referenceSectionMessage="+referenceSectionMessage+"&amp;obId="+obId+
          "&amp;otCrossReference="+otCrossReference+"&amp;otTransition="+otTransition+"&amp;otCustOO="+otCustOO+"&amp;otComments="+otComments,
          dataType: "stream",
          beforeSend: function(){
              showBusy();
          },
          complete: function(xmlHttp){
              hideBusy();
          },      
          error: function(XMLHttpRequest, textStatus, errorThrown) {
              hideBusy();
              showDialogMessage('Obligation not Saved. Please re-try.');
          },
          cache: false,
          success: function(data) {   
              if(data.indexOf('Error') == -1) {
                  $("#obDraft").empty();                  
                  $("#obDraft").append(data);                                     
                  document.getElementById("noObInDraft").style.display = "none";
                  resetPage();
                  var chk = data.split("javascript:showDraftOb");
                  chksize = data;
                  if(chk.length == 2)
                      document.getElementById("addObligationAjax").style.display = "block";
                  showDialogMessage('Obligation Added Successfully');
              }
              else
              showDialogMessage('Obligation not Saved. Please re-try.');
          }
      });
  </code></pre>