Help with Error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • registry
    New Member
    • Oct 2008
    • 7

    Help with Error

    Microsoft VBScript compilation error '800a0409'

    Unterminated string constant

    /trhosdet.asp, line 158

    Response.Write( "<div id=""Layer16"" style=""positio n:absolute; left:16px; top:416px; width:132px; height:80px; z-index:0""><a href=""http://www.mapquest.co m/maps/map.adp?city=
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^
    how can I fix? please help thank you so much
  • iam_clint
    Recognized Expert Top Contributor
    • Jul 2006
    • 1207

    #2
    I need to see the rest of the string
    Code:
    Response.Write("<div id=""Layer16"" style=""position:absolute; left:16px; top:416px; width:132px; height:80px; z-index:0""><a href=""http://www.mapquest.com/maps/map.adp?city=
    this is definitely a unterminated string..

    Comment

    • jhardman
      Recognized Expert Specialist
      • Jan 2007
      • 3405

      #3
      Originally posted by registry
      Microsoft VBScript compilation error '800a0409'

      Unterminated string constant

      /trhosdet.asp, line 158

      Response.Write( "<div id=""Layer16"" style=""positio n:absolute; left:16px; top:416px; width:132px; height:80px; z-index:0""><a href=""http://www.mapquest.co m/maps/map.adp?city=
      -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^
      how can I fix? please help thank you so much
      I often find that if you have to write that many quote marks, just switch to standard HTML:
      Code:
      'asp code here 
      %>
      <div id="Layer16" style="position:absolute; left:16px; top:416px; width:132px; height:80px; z-index:0"><a href="http://www.mapquest.com/maps/map.adp?city=
      <%
      'more asp code here
      Let me know if this helps.

      Jared

      Comment

      Working...