" . $row['order_no'] . ""; and this j...">

JQuery ajax get parameter

I have this PHP in a while loop:

echo "<td><a href='#' class='po'>" . $row['order_no'] . "</a></td>";

and this jQuery:

$(".po").click(function(){
                var po = $(this).text();
                var dataString = 'po='+ po;

                $.ajax({
                  context: this,
                  type: "GET",
                  url: "projectitems.php",
                  data: dataString,
                  cache: false,
                  success: function(html) {
                    $(this).closest(".resultsItems").html(html);
                  }
                });

            });

But the GET parameters are as follows:

  _ 1291741031991
  po    102

po is correct, but what is actually the top line? It was from Firebug by the way

+5
source share
1 answer

You set the cache to false, so the number, I assume, is the "caching" that jQuery adds to the query string.

+6
source

All Articles