Once, when this.href didn't worked for me, I got url by innerHTML, but all links was <a href="">
2006/11/15, digital spaghetti < [EMAIL PROTECTED]>:
Thanks guys, I forgot to mention I had also tried this.href, but it
didn't work either, but I had it in "" so thats probably why.  I knew
I got the basic idea, it was just me being stupid :)

Thanks again.

Tane

On 11/15/06, Dragan Krstic < [EMAIL PROTECTED]> wrote:
>
>
> > $(document).ready(
> >     function(){$("[EMAIL PROTECTED]").click(
> >          function() {
> >              window.open(this.href); return false;
> >          }
> >     ); }
> > );
> >
> > You need 'return false' otherwise the current window/tab will load the
> > new page as well.
> >
> > _______________________________________________
> > jQuery mailing list
> > [email protected]
> > http://jquery.com/discuss/
> >
>
>
> I knew that I mising something!
>
> --
> Dragan Krstić krdr
> http://krdr.ebloggy.com/
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
>
>
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/



--
Dragan Krstić krdr
http://krdr.ebloggy.com/
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to