hey, i did what you told me. i put the dajaxice.core.js in one nude html file, where i dont have other js files almost, then i opened the js console and i have done the input "Dajaxice", then it stil says there,
ReferenceError: Dajaxice is not defined Dajaxice look, i hope, i am taking the up-to-date dajaxice.core.js file, since it is from the official dajaxproject site.. i have both dajaxice and dajax also in my settings.py. i took it out and tested, error message, so it means, it was right in settings.py. i am now thinking about using only jquery-ajax to get the work done. is it possible in this way? i can get the form values sent by jquery in my view without loading the page, this is actually what i wanted to do with dajax. is it a good go-around for the problem? thanks Am Donnerstag, 3. Mai 2012 21:04:33 UTC+2 schrieb Kurtis: > > Hey, > > Try taking a practically-empty HTML page that only includes that > dajaxice.core.js file. Open up Firebug or some other Javascript console and > type in "Dajaxice;" to see if you get the same error. This definitely > sounds like a javascript problem since you're getting a "Dajaxice is not > defined" error. > > As far as the other problem (Missing file), read up the docs on serving > Static Media with the Django runserver. You need to make sure dajax is > included in your settings.py as an application. That's most likely a whole > different problem from the "Dajaxice is not defined" issue. > > On Thu, May 3, 2012 at 2:01 PM, doniyor <doniyor....@googlemail.com>wrote: > >> Hi There, i need really your help!!!! >> >> i have been having this problem since 3 days.. it is really annoying me, >> i dont know why it is happening. The Problem is: >> >> i am trying to use dajax in my page and i followed all steps several >> times as given hier: http://dajaxproject.com/ >> >> but once i click on onclick="Dajaxice.home.**randomize(Dajax.process), >> nothing is happening and i saw in console of firefox, there it says, >> "Dajaxice is not defined". but i included the {% dajaxice_js_import %} in >> the head, and even i linked the dajaxice.core.js file statically from my >> STATIC_URL. but it still says the same error. how can i go around this >> problem? is there any way of getting this work? >> >> when i link this {% dajaxice_js_import %} in the head, it says the error >> in console: *"NetworkError: 500 INTERNAL SERVER ERROR- >> http://127.0.0.1:8000/dajaxice/dajaxice.core.js"* >> when i delete this {% dajaxice_js_import %} and serve statically from >> dajaxice.core.js file from STATIC_URL, it shows nothing in console, but >> once i click on onlick event, it says: *Dajaxice is not defined* >> * >> * >> {% dajaxice_js_import %} this will look for dajaxice.core.js in dajaxice >> folder in site-packages, right? the file is there, why it cannot find the >> Dajaxice object? >> >> thanks for help in advance, >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/django-users/-/UGUTBZj9O_4J. >> To post to this group, send email to django-users@googlegroups.com. >> To unsubscribe from this group, send email to >> django-users+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/django-users?hl=en. >> > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/w3WjwsCwpdEJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.