body onload event after click on link
<p>Basically, I have link on my page test.php page.</p>

<pre><code>  &lt;a href="demo.php"&gt;click&lt;/a&gt; &lt;!-- test.php page --&gt;
</code></pre>

<p>I want to call function on body onload event on demo.php page everytime but only when click on link above then it would not be called on page refresh.</p>

<pre><code> &lt;body onLoad="JavaScript:event(1,product,100);"&gt;  &lt;!-- demo.php page --&gt;
</code></pre>
