Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Links in Parent window


Message #1 by arsal01@h... on Thu, 21 Nov 2002 21:00:01
Have you tried document.links[i].href =3D "#" ?

> -----Message d'origine-----
> De : arsal01@h... [mailto:arsal01@h...]
> Envoy=C3=A9 : lundi 25 novembre 2002 18:59
> =C3=80 : javascript
> Objet : [javascript] RE: Links in Parent window
>
>
> Really ? well but since now we have revert al the Modal
> Dialog its kinda
> wacky to go back to Modal Dialog -
>
> Now as suggested by Israel I wanna go with dreferencing all
> the Href -
> but in NN when i used "Jscript:" for dereferencing href - it
> opens a JS
> debugger -
>
> and if i use "" or null for dereferencing it keeps the url and upon
> clicking any dereferenced link its refreshes the same page
> which is not
> good
>
> I've used this
> 1) document.links[i].href =3D "JavaScript:";
> AND
> 2) document.links[i].href =3D "";
> AND
> 4) document.links[i].href =3D null ;
>
> 1) really dereference URL but open JS debugger
> 2) makes http://9.117.162.117/IDADMIN/main.jsp - which upon clicking
> refreshes the same page - which i dont want -
> 3) 3 does same as 2
>
> any suggestions ....
> arsalan
>
>

  Return to Index