Wednesday 15 January 2014

javascript - Make a submit work outside of block? -



javascript - Make a submit <button> work outside of <form> block? -

this question has reply here:

submit form using button outside <form> tag 7 answers

i want place submit <button> outside of <form> block. how create submit can execute method="post" action="/order/setup" form block`?

<form id="order-form" role="form" method="post" action="/order/setup"> <input type="text name="first_name" /> </form> <div class="details-section-button row"> <button type="submit" class="btn btn-block btn-dark right shadow arrow">next <i class="icn btn-right-arrow"></i></button> </div>

in browsers back upwards the new form attribute html 5:

<button form="order-form">…</button>

… don't. adjust design form controls within form associated with. doesn't create semantic sense split them up.

javascript jquery html5

No comments:

Post a Comment