Alright, I've tried everything I could think of, but I just can't get this to work for me.

How can I use Javascript to both redirect the browser and submit a form when a button is pressed?