does this output look right? am still getting javaScript error: Uncaught
SyntaxError: Unexpected token &
["{\"title\": \"Defense and National Security\", \"key\":16,
\"parentId\":2, \"folder\": false, \"lazy\": true},", "{\"title\":
\"State\", \"key\":4, \"parentId\":2, \"folder\": false, \"lazy\": true},",
"{\"title\": \"County\", \"key\":5, \"parentId\":2, \"folder\": false,
\"lazy\": true},", "{\"title\": \"City\", \"key\":6, \"parentId\":2,
\"folder\": false, \"lazy\": true},", "{\"title\": \"House of
Representatives\", \"key\":11, \"parentId\":2, \"folder\": false, \"lazy\":
true},", "{\"title\": \"Senate\", \"key\":10, \"parentId\":2, \"folder\":
false, \"lazy\": true},", "{\"title\": \"Mission Sector cross reference\",
\"key\":13, \"parentId\":2, \"folder\": false, \"lazy\": true},",
"{\"title\": \"Business Function cross reference\", \"key\":14,
\"parentId\":2, \"folder\": false, \"lazy\": true},"]
Seems that above is correctly escaping quotes " so that there shouldn't be
any & translated into the javaScript source data...
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.