I have a javascript function that I want to use on an ASP page in a section where I am using response.write. The problem is that I use double quotes around the whole thing and then the onclick event uses single quotes around all that syntax, but within the onclick event I need to use single quotes again. The syntax I am trying to use is:
response.write("<b>[<a href='banquetnote.html' onclick='NewWindow(this.href,'name','200','200','yes');return false;'>Important Note</a>]</b>"
Does anyone know how I can make this work? Thanks.
response.write("<b>[<a href='banquetnote.html' onclick='NewWindow(this.href,'name','200','200','yes');return false;'>Important Note</a>]</b>"
Does anyone know how I can make this work? Thanks.