Use both ahref and onclick on php to hIde parameters?
<p>I have a php function which gets data from database and calls a javasript function like this:</p>

<pre><code>echo "&lt;p&gt;&lt;a href=\"javascript: customm('$variable')\"&gt;$header&lt;/a&gt;&lt;/p&gt;";
</code></pre>

<p>The problem is when someone hovers over the link, the browser shows the complete parameters like this:(on bottom left of the browser, or a new tab)</p>

<pre><code>javascript: customm('some secret code here');
</code></pre>

<p>Is there a way to hide this? I tried adding onclick to the php function and pointing ahref to #.</p>

<pre><code>echo "&lt;p&gt;&lt;a href='#' onclick='javascript: customm('$variable')'&gt;$header&lt;/a&gt;&lt;/p&gt;";
</code></pre>

<p>But it didnot work. </p>

<p>Thanks in advance!</p>
