I have made some calcutation using Jquery in Page1.html by getting the value from inputbox and inputbox1 using get function and store the variable Z and its value by setting in inputbox2 using set function of jquery. Now i want to pass the variable Z and its value in Page2.html. Kindly help me out.

```html
Jquery Example
Page1.html

<!DOCTYPE html>
<html>
<body>

<p>Click the button to get a time-based greeting:</p>
INCOME: <input type="text" id="myinput" value="">
DEDUCTION: <input type="text" id="myinput1" value="">
GROSS INCOME: <input type="text" id="myinput2" value="">

<button id="click1">CALCULATE NET INCOME</button>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script>
$(document).ready(function(){
 $("#click1").click(function a(){

  myfunction();

    });

function myfunction() {
var x, y, z;
var x = $("#myinput").val();
var y = $("#myinput1").val();

 z = x - y;

 $("#myinput2").val(z);

}

</script>

</body>
</html>

Page2.html

<!DOCTYPE html>
<html>
<body>

<p>Click the button to get a time-based greeting:</p>
INCOME: <input type="text" id="myinput3" value="">

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script>

</script>

</body>
</html>
```