I use the function "load" of Jquery for load page , in this url i send by "load" some values as this example :
jQuery("#load_data").show(1000).load("index.php?send_values="+datasend+""); The value "datasend" get these values from function javascript as this :
function getvalues() { var getdata="value 1"; getdata +="value 2"; getdata +="value 3"; var datasend=getdata; } If insert alert inside funtion i get all values , for example :
function getvalues() { var getdata="value 1"; getdata +="value 2"; getdata +="value 3"; var datasend=getdata; alert("Show"+datasend); } But if i use load of Jquery , this no works :
function getvalues() { var getdata="value 1"; getdata +="value 2"; getdata +="value 3"; var datasend=getdata; jQuery("#loader").load("index.php?send_values="+datasend); } The other side in the page i want send/get values i have code in PHP , but when i do :
<?php echo $_REQUEST['send_values'];?> Only get the first data in this case "value 1" and no all values , but with javascript "alert" i get all values but load of jquery no send all values by URL for finally get all values
Thank´s for the help , regards