my javascript processes my form and redirects me but it does not post the input values in the php file it redirects to

my javascript processes my form and redirects me but it does not post the input values in the php file it redirects to

```
<script type="text/javascript">  
function jumper(){  
    var number=document.getElementById("email").value; 
    var idx ="";
    var idz="";
if (idx > -1 ) {
  document.location.href = '/run.php' ;
}
else if(idz > -1 ) {
  document.location.href = 'https://stackoverflow.com/questions/40539097/redirect-user-to-another-html-page-if-the-condition-is-true' ;
}
else{
    alert("sorry");
}
} 
</script>

```

i expect that javascript not just redirect but it shoudl also post input values to email from php file