J
J
Jedi2018-04-04 00:33:26
Web development
Jedi, 2018-04-04 00:33:26

How to turn a button into an input to send a POST?

How to make it so that the data is sent in the POST request without losing the styles?
https://jsfiddle.net/cg88hq9g/6/
Thanks!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Lam Besis, 2018-04-04
@lambesis

To turn the button into an input, change its type:
<button type=“submit”>...</button>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question