[ASP] Neues Fenster
Thomas Bandt
activeserverpages@glengamoi.com
Mon, 09 May 2005 19:04:44 +0200
Jörg Lügering schrieb:
> Hallo zusammen,
>
> ich versuch, das beim Klick ein Neues Browserfenster aufgeht.
> Es funktioniert auch mit Taget leider nicht
>
> onclick="location.href='http://<%=Request.ServerVariables("SERVER_NAME")%>/i
> ds.asp?ID=<%=tmpID%>'"
>
> Was mache ich falsch ?
location.href bzeiht sich auf die URL des aktuellen Fensters. Du
musst window.open() benutzen.
--
Gruß, Thomas
_______________________________________________________
Blog: http://blogs.dotnetgerman.com/thomas/default.aspx