Results 1 to 2 of 2

Thread: what syntax do delimited links in document.write

  1. #1
    Join Date
    Apr 2009
    Location
    Sydney, Australia
    Posts
    118
    Thanks
    16
    Thanked 1 Time in 1 Post

    Default what syntax do delimited links in document.write

    Hi

    This code below is part of a PHP document but is essentially just HTML code. It's part of Yahoo's code and causes a (delimiter """ invalid: only S separators and TAGC allowed here) error. Dreamweaver validation suggests the < & and > tags should be converted to &lt [HTML 4.0]

    Code:
    document.write("<SCR" + "IPT language='JavaScript' type='text/javascript' " 
    + "SRC=//" + "srv1.wa.marketingsolutions.yahoo.com" + "/script/ScriptServlet" + "?aid=" + ysm_accountid 
    + "></SCR" + "IPT>");
    I attempted to apply the Dreamweaver recommendation but when uploaded to the server it only wrote the line into the browser screen.

    I know this has to be a simple solution.

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Wrong section. This is a Javascript question (not PHP). Moved.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •