Hi there,
I have searched for some examples, but to no real avail, for a JS function
that displays a user Yes/No dialog box.
Basically, i have an ASP application that displays a SQL table on an ASP
page.
I have created a "Remove" hyperlink (in a loop) by each record and i need to
use an OnClick event so when the user clicks this hyperlink it displays this
Yes/No dialog.
At the moment the hyperlink simply removes the relevant record.
I need an OnClick event that displays a Yes/No box that when the user clicks
Yes - it goes to remove.asp, and when No is clicked it does nothing.
User Clicks Remove next to record > Yes/No dialog> Yes = remove.asp No =
End.
*****
*****
Current Hyperlink (passing ID variable in querystring - needs to be
maintained through the javascript:
<a href="remove.asp?ID=<% =server.URLEncode(RS("ID"))%>">Remove</a>
*****
*****
Any code/help would be much appreciated.
Thanks
--
Thanks in advance
Fawke
Please remove ANTI and SPAM
from my email address before emailing me.
www.bradflack.com