1

I'm developing project based on html and JavaScript. I have values in info.properties file.

How can I get and use those info.properties file values in my JavaScript function. This is the values I have in my file:

msg.confirm     =Okie?
msg.alert       =Cancel.

Your help will be appreciated.

Andreas Louv
  • 46,145
  • 13
  • 104
  • 123
abdul
  • 33
  • 2
  • 9
  • @RGraham,Could you please provide me any sample code. – abdul Oct 22 '14 at 09:40
  • possible duplicate of [Read properties file using jquery or java script](http://stackoverflow.com/questions/20416185/read-properties-file-using-jquery-or-java-script) – CodingIntrigue Oct 22 '14 at 09:50
  • @RGraham,I'm new to this,i have not understood that answer.so I'm taking help from you. – abdul Oct 22 '14 at 09:58
  • I don't think so you can read directly from property file in javascript.. You can read through server side – rinuthomaz Oct 22 '14 at 10:06

0 Answers0