python - Update GET request in Dajax -
i trying make possible update search results dajax change search parameters. have request word search, , modify using dajax.
i understand query has in post format, how can combine word search (currently get) additional parameters (post)?
so far trying this, variable 'request' request.
<p onclick="dajaxice.myapp.get_by_topic(request,{'data':{'mytopic':this.innerhtml}});">mytopic</p>
the dajax project pretty dead. said himself on github page. https://github.com/jorgebastida/django-dajax/ offers nothing you're not capable of accomplishing on own using simple form post jquery ajax.
why not post search form view method using jquery ajax returns json , display in search results? can make post on every space or every few letters etc...
it may take playing around used to, you're better off doing learning dead library.
Comments
Post a Comment