If the error is specifically "Parse error", your code may have an error unrelated to the nested object calls. Check the lines before the line that generates the error, looking for unmatched braces, brackets, quotes, etc., or missing semicolons. Want the best answers? Ask the best questions:
I have successfully used sub class's within class's, however, I stored the sub class in a variable, it looks like you are trying to use a function to access it.
Be sure the function returns an object, or if you didn't mean to use a function, remove the brackets. --BB
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.