HI,
I am unable to access Static content from javascript. My requirement is like, I have to pass javascript variable to HashMap to get the result. But since HashMap code is in
java,it is not allowing me to send javascript variable as parameter.
Please look at the code once.
for(var i=0; i < availableModules.options.length; i++){
if (availableModules.options[i].selected){
subModuleId = availableModules.options[i].value;
moduleId = '<%=OtrServiceConstants.MODULE_MAP.get("subModuleId ") %>';
}
}
It is giving compilation errors if i use javascript varialble.
If any one has come across these problem,please suggest me to resolve.
thanks.