How to read key from web config in JavaScript code example
Example: How to read key from web config in JavaScript
<script>
var apiUrl = '@System.Configuration.ConfigurationManager.AppSettings["url"]';
</script>
<script>
var apiUrl = '@System.Configuration.ConfigurationManager.AppSettings["url"]';
</script>