javascript submit function arguments
1. When selecting an item from the list (onChange event), submit the form and perform action A.
2. When clicking a submit button, submit the form and perform action B.
So I have a function that is called when the onChange event is fired by the select field. It simply submits the form.
document.forms.myform.submit()
Can I include an argument here to distinguish this form posting from the posting that occurs when I click the button? If not, how else can I distinguish the two postings?

