How to get text field value in html forms django
<p>I made a template in html for my Django app.</p>

<p>Inside my template I have a field name taking <code>bid amount</code> from user. </p>

<p>I want to get that value in any variable and want to pass it into url.</p>

<p>The template is the following:</p>

<pre><code>Bid amount:&lt;input type="text" name="txtJob" &gt;

                &lt;form method="POST" action="submitbid/?project_id={{project.project_id}}"
                &gt;


            {{bid.text}}" class="button"&gt;Submit your bid&lt;/a&gt; --&gt;
                &lt;input type="submit" name="submit" value="bid now" /&gt;
                        &lt;!-- Provide a button to click to submit the form. --&gt;


                &lt;/form&gt;
</code></pre>

<p>I used <code>var amount = document.getElementById('txtJob').value;</code>
but it prints on frontend (browser)</p>