How to access a key object in jQuery with "/" -
i have object localize.data context:
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
Post a Comment