I have DIV(..., onclick="ajax...") that works just fine when the user is 
signed in, but fails when the user is not signed in. Firebug reports:

Uncaught SyntaxError: Unexpected token <
    jQuery.ajax.success                                         web2py.js:21
    f.Callbacks.o                                               jquery-1.7.
2.min.js:3
    f.Callbacks.p.fireWith                                      jquery-1.7.
2.min.js:3
    w                                                           jquery-1.7.
2.min.js:5
    f.support.ajax.f.ajaxTransport.send.d                       jquery-1.7.
2.min.js:5

Anyone have a clue about what's going on?

I've tried loading web2py.js before jquery-1.7.2.min.js as well as after. 
No effect. I've also tried loading static/js/jquery.js as well (I normally 
don't load this since I am using jquery-1.7.2.min.js) but this has no 
effect, either.

Reply via email to