Django accepts and works with form button in format:
<input type="submit" value="Submit" />
How to make it to work with the following:
<button type="button">Submit</button>
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Could you explain what exactly you mean by “Django accepts and works with form button in format”? As far as I know the difference in the behaviour of
<input type="submit" .../>and<button type="button">...has nothing to do with Django. Django does not care how a form is submitted from the browser.This previously posted question might be of interest.