Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

how to send the data through url in html without using the form

<!DOCTYPE html>
<html>
    <body>
        <form id="myform" method="post" action="/">
            {% csrf_token %}
            <input type="hidden" name="flag" value="2" />
            <a href="#" onclick="document.forms[0].submit();return false;">Let's go!</a>
        </form>
    </body>
</html>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #send #data #url #html #form
ADD COMMENT
Topic
Name
6+2 =