Disable link to current page number. (anchor tag)
<blockquote>
  <p>I have one anchor tag. I want to
  disable it after once it clicked. I
  tried the following way.</p>
</blockquote>

<pre><code>  print "&lt;script type='text/javascript'&gt;parent.window.frames[2].document.getElementById('pagination').innerHTML+=\"&lt;a href=# onclick='pageshow`($i);this.disabled=true'&gt;$i&lt;/a&gt;&amp;nbsp;\"&lt;/script&gt;";
</code></pre>

<p>Note:
I don't want to disable the link. I want to disable the link operation. Like Google search page.</p>

<p>Eg: 1 2 3 4 5 Next  </p>

<p>Here once I clicked the 1st page I can't click the same page again. Same thing I want.</p>
