I\'m a beginner in javascript. I created a hidden form, which I want to redirect to a success or failure page when submitted (based on a working script). I got it to work to