Very good, I have a variable called origin, where I want to save a text string with two variables. That variable happened to get to a page (2) using the load function.
The problem is that when I make an alert of origin from the page (2), it shows me only the first variable but not the second one.
This way I capture the value of origin from page (2).
<?php if (isset($_GET['origen'])){ ?>
origen=<?php echo "'".$_GET['origen']."'";}?>;
Source variable
origen='php/formTarea.php?idMisTareas='+idTarea+'&idHis='+historia;
Here I go to page (2) happening origin by get
load('php/formHistoria.php?idHis='+historia+'&idTarea='+idTarea+'&origen='+origen);