Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. basball321

    Javascript Error with ASP

    So I found a solution using HTML as a buffer... <body> <input type="hidden" id="var1" value="<% ReadPLC("aspVar1");%>" /> </body> <script> var jsVar1 = document.getElementById('var1').value; </script>
  2. basball321

    Javascript Error with ASP

    Chris, thanks for the quick replies... I have tried the replace method and no luck. I was mistaken earlier. The error I recieve is "Unterminated String Constant" not "Expected ';'" The ASP server lives on an Embedded device so there is no way for me to manipulate the ASP interperter... any...
  3. basball321

    Javascript Error with ASP

    The semicolon is required by the ASP server. Without the semicolon the ASP reports an error for an invalid function. I think the ASP function replaces that whole phrase before the html file is sent to the client. So javascript wouldn't even see the semicolon right?
  4. basball321

    Javascript Error with ASP

    Is there a way to delete a carriage return value that is returned by an ASP command? I have a very VERY limited ASP server which only supports about 2 functions (Read/Write). Everything works fine for reading integer values, but when I try to read string values into a javascript variable there...

Part and Inventory Search

Back
Top