How to find source of submit using javascript
<p>Please help me to solve this problem:
I have a form in which i have written onSubmit calling a javascript function.
please tell me in that javascript function how can i check that who was the event generater ( i mean on which button click this even raised)..
Note: onsubmit function call  is in form tag..
i am using javascript and asp.net
My code is like this:</p>

<pre><code> &lt;form id="form1" runat="server" onsubmit="return CheckForm()"&gt;

    &lt;script type="text/javascript" language="javascript"&gt;
        function CheckForm()
            {
            some code here
            } 
    &lt;/script&gt;
</code></pre>

<p>i dont want to change any functionality.. i have got a dropdownlist which is causing postback.. i want that when this dropdownlist raise post back either i should know that its raised by dropdownlist or that function should not be called by dropdownlist's postback</p>
