Get value from AJAX using Javascript and ASP

Client-side Javascript can’t query server-based databases for obvious reasons. Based on what you appear to be doing, I would suggest you code an ASP which performs the actual query using VBA / C# / whatever, and you can then parse the results in your client-side ajax call as normal.

Leave a Comment