I'm trying to access a key that is in my web.config file from javascript in a static html page. I understand that having something like <%=ConfigurationManager.AppSettings["MyAttribute"]%> in the script works well for aspx or dynamic pages.
How can I achieve the same from a static html page? Is it possible? Can it be done just by using plain javascript or will I need to modify my config file?
Any assistance will be highly appreciated. Thanks.