matthewb

parser.parse() error in .js file

Discussion created by matthewb on Nov 7, 2013
Latest reply on Nov 7, 2013 by matthewb
Hi,

I'm getting the following error when calling parser.parse(); in map.js


[INDENT]0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'parse'[/INDENT]


However, if I run the code from map.js in the HTML file, it works perfectly. Do I have to call parser.parse(); differently when using .js files?

Thanks,

Matt

Outcomes