Can someone tell me how to write this line so I don't get an error - I've tried various ways to nest the quotes, but I still get an error saying that an ")" is expected.
Code:
response.write("document.write('<form method=\"post\" action=\"message_send.asp?subject=" & Request.QueryString("subject") & "\" onsubmit=\"return preValidate(this);\">);")
It's kinda confusing I know. Is there any other way to feed the result of an ASP function into Javascript other than by getting ASP to write out the JS as above?