How to populate value which is in one page into another page's textfield on button click using jquery?

How to populate value which is in one page into another page's textfield on button click using jquery?

1.I have 2 pages (page1 and page2).

2.In page1 on button click it will navigate to page2.

3.page2 has a "textfield", so once I click on the button on page1, the value(inside DIV) which is on page1 must
display in the textfield on page2.