View Full Version : page title kind of disappears. why ???
hii !
I am now wondering why the title of my document gets replaced by its URL when I say something like this....
<a href="#" onclick="somescript()">click here</a>
any remedy for this ?
TheTree
10-04-2002, 06:58 PM
I haven't used this code, before----but, I would THINK it should read:
onclick="somescript()">
<a href="#">click here</a>
u mean I shud use a <div> tag ????
I really dont want to do that.
Roy Sinclair
10-04-2002, 10:15 PM
The problem is that you should do it this way:
<a href="#" onclick="somescript();return false;">click here</a>
or like this:
<a href="javascript:somescript()">click here</a>
(Remove the extra space between "java" and "script" that this board unhelpfully includes).
heyy....that looks like a neat solution. Will do that right away....thanks Roy !!!
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.