Know the name of the form in JavaScript
<p>I have a button called "Next" that exists in a couple of asp.net pages. Actually it is in a User Control. When "Next" is clicked it calls a function <code>CheckServicesAndStates</code> in JavaScript. I want to know the page that has initiated this "Next" button click.</p>

<p>Can anyone tell me how is this possible?</p>
