on 11-19-2015 10:53 AM
unexpected token is usually due to a malformed JSON.
Make sure you put your output as:
$.response.setBody( JSON.stringify(yourOutputObject) );
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
what do you see in dev tools/ network as a response for that xsjs call? is it even json?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.