I am attempting to get the key and value data from an object that is inside an object.
Example:
$.each(my_object, function(key, value)
{
// some code
if (typeof value === object)
{
$.each(value, function(key, value)
{
// do something
)};
}
});
Unfortunately, I am getting the following error:
object is not defined
Any help?