How to access a key object in jQuery with "/" -


i have object localize.data context:

enter image description here

how can access navigation? not working:

$.localize.data.locales/messages.navigation 

note: can't remove slash.

thanks lot!

use bracket notation:

$.localize.data["locales/messages"].navigation 

Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -