Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I'm trying to use this code as a hy

Status
Not open for further replies.

paulcarey

Programmer
Jun 15, 2001
45
GB
I'm trying to use this code as a hyperlink and have tried a million variations. Can anyone point me in the right direction? I know this horribly wrong!

<a href=>
<SCRIPT language=&quot;javascript&quot;>
window.open(&quot;KBUpdate.asp?KBID=<%response.write(iEdit)%>&Delete=y&quot;,&quot;DELETE&quot;,&quot;[toolbar=no,statusbar=no,scrollbar=no]&quot;)
</SCRIPT>>
<img src=del.gif title=&quot;Click to delete entry&quot;>&quot;%>&quot;)&quot;>
</a>
 
try

<a href=&quot;javascript:window.open('KBUpdate.asp?KBID=<%response.write(iEdit)%>&Delete=y','DELETE','toolbar=no,statusbar=no,scrollbar=no')&quot;><img src=del.gif title=&quot;Click to delete entry&quot;></a>



Hope this helps,

Phil Clare
 
Thanx philcare

It works great except the original page displays [Object]!

Seen that before?

paul
 
Hi Paul

I dunno, try changing it to this (remove all the jscript)

<a href=&quot;KBUpdate.asp?KBID=<%response.write(iEdit)%>&Delete=y&quot; target=&quot;DELETE&quot;><img src=del.gif title=&quot;Click to delete entry&quot;></a>

The only problem with this is that you won't be able to switch off the scrollbars etc




Hope this helps,

Phil Clare
 
Dont like that one!! Such a shame. ah well thanks for your help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top