[Answered ]-Send selection from bootstrap dropdown button with Django

2👍

The only way to make a POST without JavaScript, is to click on a form button. Check this codepen – http://codepen.io/anon/pen/qdPJYw

<ul class="dropdown-menu">
    <li>
        <form method="POST">
            <button type="submit" class="btn" name="option1" >
               POST ACTION 1
            </button>
        </form>
    </li>
</ul>

In addition you need to some css to make button appears the same as dropdown link.

Leave a comment