The Javascript way is:

<a href="wherever.html" onClick="return false;"> Just try to click this
link!</a>

But some people turn their Javascript off, and older browsers might have
trouble.  I'd be a better idea to disable the link with the CGI.  You could
make the text match your link style, but not have it be a link...

hth,
Ryan

----- Original Message -----
From: Rahul Garg <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 01, 2001 1:48 AM
Subject: HTML/CGIPERL/JavaScript related


  ----- Original Message -----
  From: Rahul Garg
  To: [EMAIL PROTECTED]
  Sent: Wednesday, August 01, 2001 11:04 AM
  Subject: HTML related


  Hello ,

  What i want is a hyperlink after activated once get disabled..............
  I am using HTML/PERL....
  Can i use onClick event of JavaScript in hyperlink......and onClick make
the hyperlink disabled if there is no other way out......and how to do
this....i dont know javascript

  waiting for reply,

  Thanx in advance,
  Rahul



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to