Use window.name to post data without refreshing the page.