when i run in chrome iam getting this error- Cannot call method 'properties' of
undefined .... how to resolve it?
I wrote in my jsp as:
<script type="text/javascript">
jQuery.i18n.properties({
name:'MessagesBundle',
path:'bundle/',
mode:'both',
language:'en_US',
callback: function() {
// We specified mode: 'both' so translated values will be
// available as JS vars/functions and as a map
// Accessing a simple value through the map
jQuery.i18n.prop('msg_hello');
// Accessing a value with placeholders through the map
jQuery.i18n.prop('msg_complex', 'John');
// Accessing a simple value through a JS variable
alert(msg_hello +' '+ msg_world);
// Accessing a value with placeholders through a JS function
alert(msg_complex('John'));
}
});
</script>
Original issue reported on code.google.com by vinaykum...@gmail.com on 15 Aug 2013 at 10:45
Original issue reported on code.google.com by
vinaykum...@gmail.com
on 15 Aug 2013 at 10:45