var labelTxt = "changingValues" labelTxt = '<bean:message key="labelTxt">'
My javscript function has the above statements. the variable labelTxt can have different values,these will be the keys in the property file,so depending on the variable the correct keyvalue should be fetched. But if I give as above ,it is searching for the key labelTxt in my property file. Pls help. Thnks in advance.