title: How I can get fired event from JS function without passing event parameter?
body: <p>Is it possible to get the JavaScript fired event from called JavaScript function <strong>without passing any event parameter?</strong></p>
  
  <p>Here is the sample code:</p>
  
  <pre><code>&lt;html&gt;
    &lt;head&gt;
  
      &lt;script&gt;
        function myFunction()
        {
          // How I will get from here the fired event  ??
        }
      &lt;/script&gt;
    &lt;/head&gt;
    &lt;body&gt;
  
      &lt;p id="paragraghhh" onclick="myFunction()"&gt;
         Click on this paragraph. An alert box will
         show which element triggered the event.
      &lt;/p&gt;
  
    &lt;/body&gt;
  &lt;/html&gt; 
  </code></pre>