Skip to main content
September 16, 2009
Question

Javascript error in autosuggest

  • September 16, 2009
  • 1 reply
  • 665 views

I have a ValueList from a query that I use as the string for an autosuggest form field.  Usually it works just fine but sometimes I get the annoying javascript error in the lower left corner of my browser that says error: ";" expected on line xyz

I run the list through the #JSStingFormat()# and still get this error.

Any clues?

    This topic has been closed for replies.

    1 reply

    Inspiring
    September 16, 2009

    Could you pls post a self-contained repro case for this, pls?

    --

    Adam

    September 16, 2009

    Pls define "self contained repro case"

    Inspiring
    September 17, 2009

    A repro case  ("reproduction case"... code that can be used to demonstrate the problem) is a piece of code that you provide which I can copy and paste into a file, and execute it, and see what you're seeing.  "Stand-alone" meaning the code is complete and does not require any other code, or specific DB connections, or other external considerations to run.

    It's important to post code like this because it makes it a lot easier for people to see what you're doing, and also replicate the issue.  Also, it gives them something to start with to possibly tweak to understand/fix the problem.  Also, if it's a bug, Adobe prefers having a repro case to help them isolate the issue and fix it properly.

    A repro case is a lot easier to understand, and is far less ambiguous, than someone describing an issue.

    Cheers.

    --

    Adam