Skip to content

Tag: asp-classic

Escaping quotes in Javascript variable from Classic ASP

How can I escape quotes using a Classic ASP variable in javascript/jQuery? The ASP variable is taken from a DB. I’m using: But obviously that appears as when the page loads, which breaks the function with unexpected identifier. edit: I’m using using jQuery not “how can I achieve this using jQuery” sorry wasn’t clear. Any ideas? Thanks Answer You’ve asked