I have a web page (classic asp) with a link to a local IP address, as follows: If the local IP address is unavailable the web browser eventually times out and displays its own error message. What I want to do is: catch the timeout before the browser displays its default error page and display an error on the same
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