Quick Help

I keep getting a error "Expected End of Statement" on this line:

Response.Write "<FRAME NAME="leftframe" SRC='calendar_v1.asp?Area="& sArea & "&Resource="& sResource & "' MARGINWIDTH="2" MARGINHEIGHT="0" SCROLLING="no" FRAMEBORDER="no" target="_self">"

It is in VBScript and I can't figure it out. I think it has something to do with the quotes, I have just been staring at it too long.
Who is Participating?
knightEknightConnect With a Mentor Commented:
change this:

  "<FRAME NAME="leftframe"

to this:

  "<FRAME NAME='leftframe'

.... and do likewise for all the other HTML parameters in your FRAME tag that use double-quotes.  (in other words, single quote your HTML parameters)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.