I am quite new to django and struggling to do something very simple. I have a ModelForm for the following model:
ModelForm
class Queries(models.Model):
What you need is an asynchronous post (ajax), which is easy with jQuery, see this answer for a complete solution: How to POST a django form with AJAX & jQuery