PDA

View Full Version : Dynamic localization ( eval(response.responseText); is not working ).



atul.sachan@capgemini.com
6 Jan 2012, 4:47 AM
I am trying to implement dynamic localization, in sample i found " eval(response.responseText);" after loading appropriate locale specific js file. Why we are using this method and where it is defined??
any dependency before calling this method????
Thanks

vadimv
6 Jan 2012, 6:47 AM
eval it's a native javascript function: http://www.w3schools.com/jsref/jsref_eval.asp, no dependency needed.