Use
<a href="#" onClick="return fnname();">
and forget about using functions returning false.
-----Mensaje original-----
De: rajesh_s8@1... [mailto:rajesh_s8@1...]
Enviado el: jueves, 05 de octubre de 2000 11:38
Para: javascript
Asunto: [javascript] Re: SSL & Frames & Javascript
hi
i dont think ur referencing with javascript:fnname()wud work in <a> tag.
Any functionality calling a javascript function from a href tag is usually
implemented like
<a href="somewhere" onClick="return fnname();">
make sure your function returns false so that on click of the link only the
function gets excecuted and the link dosent open anything else
----- Original Message -----
From: "Wayne Hendler" <hendlewr@c...>
To: "javascript" <javascript@p...>
Sent: Wednesday, October 04, 2000 7:12 AM
Subject: [javascript] SSL & Frames & Javascript
> I have a frame application that uses SSL. If I use an <A> tag that
> references a javascript, ie:
>
> <a href="javascript:Testit()">Click Here</a>
>
> in one of the frames, I receive the message:
>
> "This page contains both secure and nonsecureitems. Do you wish
> to......."
>
> when I click on the link in IE. This link is the only thing on the page
> except for some text. The other frames contain text information with no
> links whatsoever.
>
> What do I need to do to get rid of this message??
>
> Thanks in advance,
> Wayne
>