javascript/jquery code to obtain the form # of the form in which the user has selected some text
<p>I have a page with multiple forms within it.</p>

<p>What I want is, obtain the form #, (eg second form is form #2) in which the end user has selected some text</p>

<p>I will use the form # to do some further operations on that specific form, using jquery and i need form # to be passed as parameter to the jquery calls that I have to make.</p>

<p>Is there some way to obtain this using jquery or javascript?</p>
