inverted comma problems in ASP response.write
hey,
Have a problem here when getting my asp to dynamically write some html code. The code is to call a javascript function. The problem is with response.write everything has to be included in inverted commas but inside those inverted comma i've got to put more inverted commas round the call of the javascript function.
the error i'm getting is below and i understand why i'm getting it but how do i get around it!!! single commas wont get the function called...
thanks...
Microsoft VBScript compilation error '800a03ee'
Expected ')'
/index.asp, line 295
response.write("<a href='ebrary.html' ONMOUSEOVER="popup('hello
---------------------------------------------------^
whats','lightgreen')"; ONMOUSEOUT="kill()"><img src='images/btnebrary.gif' align='top' border=0></a>")
|