What is the syntax for line break character in javascript?? For example, the
following code will yield error "
unterminated string constant." If I put the following in one line, then no
error.
window.showModa lDialog("page2. html",
document,"menub ar=no, titlebar=no, toolbar=no, location=no,
directories=no, status=no, menubar=no,scro llbars=yes, resizable=no,
copyhistory=yes , width=400, height=500");
Please advise. thanks!!
following code will yield error "
unterminated string constant." If I put the following in one line, then no
error.
window.showModa lDialog("page2. html",
document,"menub ar=no, titlebar=no, toolbar=no, location=no,
directories=no, status=no, menubar=no,scro llbars=yes, resizable=no,
copyhistory=yes , width=400, height=500");
Please advise. thanks!!
Comment