[JS] Form Number

I have many forms on my HTML page. I have only one javascript function to handle the submitted data. Is there any way for my function to detect which of the forms was submitted?


document.forms[???];