Page Index Toggle Pages: 1
Topic Tools
Normal Topic javascript: void (Read 1,899 times)
Lopa
Junior Member
**
Offline



Posts: 95
Location: Australia
javascript: void
Oct 5th, 2010 at 10:58pm
Post Tools
Profile.pl
InstantMessage.pl
javascript: void(0) X about 6



Code
Select All
		<br /><span class="small"><a href="javascript: void(0);" onclick="imWin();">$profile_buddy_list{'add'}</a></span> 



This may be the best way as it doesn't use href="javascript:[something]" and the return false part will cause the href="#" not to be evaluted, so that's the best way? thanks very much!

Code
Select All
		<br /><span class="small"><a href="#" onclick="imWin(); return false;">$profile_buddy_list{'add'}</a></span> 



http://forums.digitalpoint.com/showthread.php?t=981269 ; Wink
  

I make mistakes - That's how I learn.
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Topic Tools
 
  « Board Index ‹ Board  ^Top