$.get look a lot like Jquery.

Do you mind to share what version you are using ? You can find out with
`alert($.fn.jquery)`

2016-07-25 16:34 GMT+02:00 Gergely Polonkai <[email protected]>:

> This sounds to be a JavaScript problem, which is not part of Django in any
> ways.
>
> My idea, however, is that you don’t import another JS file that contains
> the $ function (probably jQuery or Prototype?)
>
>
>
> Gergely Polonkai
> [image: https://]about.me/gergely.polonkai
>
> <https://about.me/gergely.polonkai?promo=email_sig&utm_source=email_sig&utm_medium=email_sig&utm_campaign=external_links>
>
> 2016-07-25 12:31 GMT+02:00 ajay <[email protected]>:
>
>> //In scirpt
>>
>> $('#suggest').keyup(function ()
>>     {
>>        var query = $('#suggest').value;
>>
>>          $.get("/search/", {suggest:query},function( data ){
>>              $("#list").html( {% for item in search_list %}
>>                             '<li>'+{{ item }}+ '</li>'
>>                         {% endfor %} )
>>
>>
>> });
>>
>>
>>
>> In body
>>
>>
>> <input type="text" id="suggest" >
>>     <div id="list">
>>     </div>
>>
>>
>> am i doing something wrong
>>
>> plz help
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/f874db3a-1e19-4cef-9deb-9beed11159d2%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/f874db3a-1e19-4cef-9deb-9beed11159d2%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CACczBU%2BHq2a7Xs7U5tqcfFF%2BZ2CzyQMTiMtetjkbxym5SJuczQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CACczBU%2BHq2a7Xs7U5tqcfFF%2BZ2CzyQMTiMtetjkbxym5SJuczQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Cordialement, Coues Ludovic
+336 148 743 42

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEuG%2BTamODge%3D-_4FaM2HMG2MV5sVXpdBDKqbJ88STBxRmTWdA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to