Log in / Register

Login to your account

Remember Me

Create an account

Fields marked with an asterisk (*) are required.
Reload Captcha

Кнопка submit вне формы

Rate this item
(1 Vote)

Способ позволяющий отправить любоую HTML форму кнопкой из вне.

	<button class="addToCart" form="myForm" type="submit" name="submit-button" value="$1.05">PRICE 1</button>
<form id="myForm" method="post" action="">
    <input type="hidden" name="item-id" value="" />
    <input type="submit" name="add-button" />
</form>

Leave a comment