Actually, it looks like even though it is being inserted at index 0, it is being rendered after other items so it throws this error. I am inserting like so:
response.files.insert(0,URL(r=request,c='static',f='jquery.js')) response.files.insert(1,URL(r=request,c='static',f='calendar.css')) response.files.insert(2,URL(r=request,c='static',f='calendar.js')) response.files.insert(3,"http://ajax.googleapis.com/ajax/libs/jqueryui/ 1.7.2/jquery-ui.js") response.files.insert(4,"http://ajax.googleapis.com/ajax/libs/jqueryui/ 1.7.2/themes/ui-darkness/jquery-ui.css") Perhaps it should use an index variable so that the order is controlled? On Nov 2, 12:36 pm, "mr.freeze" <[email protected]> wrote: > I think the jQuery file included with web2py may be corrupt. When I > create a new app firebug throws an error: 'jQuery is not defined'. The > error goes away when I use the google hosted version instead. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

