This script shows how to use a button and a hidden form field to change what happens when the page loads.