accessing an object property that contains forward slashes
Just use myObject["key"]
instead of myObject.key
:
alert(myObject["contact/allow_anonymous"]);
Just use myObject["key"]
instead of myObject.key
:
alert(myObject["contact/allow_anonymous"]);