Data Limit for $.ajax calls?

Data Limit for $.ajax calls?

I'm experiencing a weird problem when trying to do a $.ajax call. When I pass 5 variables, with either GET or POST, the script runs as I would like. However, when I use 6 or more variables, the script does not run. Does anyone know why this is?

Relevant code (stops1-5 are defined as JS variables earlier in my script, and the alerts are for testing)

  1. $(".barcrawl-stop-id").each(function(){
  2.                 alert("running ajax function");
  3.                 $.ajax({
  4.                       url: "/handlers/ajax/barcrawl_reorder.php",
  5.                       cache: false,
  6.                       type: "POST",
  7.                        data: ({
  8.                            stop: n,
  9.                            id: $("#barcrawl-id").val(),
  10.                            stop1: stop1,
  11.                            stop2: stop2,
  12.                            stop3: stop3,
  13.                            }),
  14.                       success: function(html){
  15.                           alert(html);
  16.            
  17.                       }
  18.                 });
  19.                 n++;
  20.             });


So, the way it is now, it works fine (I get the first alert for each instance of .barcrawl-stop-id, and get an alert at the end with the returned data). However, when I add another variable to the data, like stop4: stop4, the script does not run (all I see is one alert with "running ajax function"). Help please?

Thanks in advance.