Django Ajax Search



Short Description

In this post I will explain how to perform an ajax search using django. If your website contains a lot of information, adding a search functionality is a very important part of the process, as it makes it easier for your users to find what they are looking for in your site. In this post, I will talk about how to implement an ajax search for a specific part of your site, not your entire site. If you would like to index your entire site, I would suggest using a django package like haystack.


1st ...

jQuery Ajax Image upload


Short description

Uploading images with Ajax has been the subject of discussion for quite a while. For some time the best way to do this was with the use of iframes, but personally I don't like iframes, so I only use it when there is no other way around it. Now, one way to do Ajax image uploads is by using FormData, which I will show you how to do in this post.


1st Step

Assume you have an html page with a form, you can send files through FormData by simply adding an input of type file ...