How do I retrieve an AppSetting variable within javascript? I have an ASP.Net application with AppSettings in the Web.Config file. I can retrieve the variables from the server code, but how do I retrieve it on the client side in Javascript?