Disclaimer: I don't know if this is at all related, but I had an issue with
an AJAX object I created outside a function. Can you try this and let me
know if it works?
Change this:
var searchReq = getXmlHttpRequestObject();
to this:
searchReq = getXmlHttpRequestObject();
and move it into searchSug
I'm trying to do a simple google-suggest like thing with django and ajax. I
wrote a view for creating the response and try to use it via an
XMLHttpRequest.
Here's my view:
def category_suggest(request):
> if request.method == "GET":
> return_categories = ''
> received_str =
2 matches
Mail list logo