html template
<form method="post" enctype="multipart/form-data" id="sub_form" 
name="sub_form">
        {% csrf_token %}
          <textarea name="name">{{name}}</textarea>
          <button type="submit" class = "b1" name = 
"wordcloud">WordCloud</button>
          <button type="submit" class = "b2" name = 
"bar">Text_Analysis</button>
          <button type="submit" class = "b3" name = "sa">Sentiment 
Analysis</button>
 </form>

I have multiple submit buttons for same form and each button refreshes the 
page 
I don't want it to refresh as it removes all changes made by one button to 
perform changes made by another please help me

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/14a8c9f5-c949-4caa-a3dd-87af0d4d39c4%40googlegroups.com.

Reply via email to