I have tried using jQuery.i18n.properties({}); plugin from this reference site but it's not working.
Is there any another way to read properties file in JavaScript or jQuery so that the contents can be loaded on an HTML page?
I have tried using jQuery.i18n.properties({}); plugin from this reference site but it's not working.
Is there any another way to read properties file in JavaScript or jQuery so that the contents can be loaded on an HTML page?
Specifically (see previous answer) you can do that in two ways:
1) web.config (recommended) - add the following 2 elements :
<configuration>
...
<system.webServer>
...
<staticContent>
...
<remove fileExtension="properties" />
<mimeMap fileExtension="properties" mimeType="text/plain" />
2) IIS - you need to do that every time you deploy to a new IIS
http:/https:resource or for afile://resource? Do you see any errors in your JavaScript console? Please post a sample of your code.F12and go to the "Network" tab) and paste it into your address bar, it works?