You should now pass the GET variables to the URL. The following is recommended (do not use urlencode):
$.ajax({ type: "GET", url: "loader.php", data: {"kk": 1, "page": 'trends.php?rastgele=33'}, cache: false, success: function (html) { $('#content').empty(); $('#content').html(html); }, error:function (xhr, ajaxOptions, thrownError){ alert(xhr.status); alert(thrownError); } });
benck source share