Loose Focus/no Focus onclick set focus to nothing/opening a page where there is none!
Hi, I would like to do the following.
I have an href where onclick the focus is on the href:
I got it to change focus to another object but i don't really want that.
It must be as if the user clicked nothing. The href is what i use for my tooltip so it's only surppose to work onmouseover!
This is the jscript:
onClick="document.getElementById('__Submit').focus();"
The __Submit' is another object - i' setting the focus to
XSLT code i'm using:
<a>
<xsl:attribute name='href'>#</xsl:attribute>
<xsl:attribute name='rel'>ttip_<xsl:value-of select='@name' /></xsl:attribute>
<xsl:attribute name='onClick'>document.getElementById('__Submit') .focus();</xsl:attribute>
<img src="images/help.jpg" align="texttop" style='border : none;'></img>
</a>
Please Help!
Regards
|