This may sound a bit odd, but I am trying to mix JavaScript onclick event into ASP.
I have ASP code to make a list of links from a database, that code looks like this
Is it possible to have the same kind of system that uses this JavaScriptCode:Response.Write "<a href=""" & recordset("url") &""" title=""" & recordset("name") &""">" & recordset("name") & "</a>"
I can never get the " and ' bits rightCode:<a href="URL" onclick="window.open(this.href); return false;" onkeypress="window.open(this.href); return false;" title="Name">Name</a><br>




Reply With Quote