Unterminated string constant

Giganews Newsgroups
Subject: Unterminated string constant
Posted by:  noViagraHere (reques…@zipperpulls.com)
Date: 12 Jul 2003

What do i need to add to the document line to stop getting an Unterminated
String Constant error?

itemtocheck = '1300';
document.writeln('<!--#include
virtual="checkQty.cgi?item='+itemtocheck+'"-->');

Replies