D
D
Denis Pupchenko2017-05-02 16:35:04
Django
Denis Pupchenko, 2017-05-02 16:35:04

How to get input value before form submit and insert in form action?

For example, this form

<form action='/test/(тут value input)/' method ="post">
<input  type="number"  name="text" value="" >
</form>

How to get the value of the input before submitting the form, and insert it into the action of the form?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question