I am learning web development using Django and have some problems in where to put the code taking chage of whether to submit the request in the HTML code<
Django
HTML code<
The most compact version:
The key thing to note is the return
return
-
Because there are many ways to skin a cat, here is another alternate method:
HTML:
Javascript: