I want to post the fields price and plateId to a database table without using any form, when the user clicks the Order button. Would it be possible? Otherwise, could you suggest an other solution?
<div class="menu">
<img src="/images/wings.png" />
<div>
<span id="price">Price:$40.00</span>
<div class="description">
<span id="plateId">HOT WINGS</span>
</div>
</div>
<button id="btn">Order</button>
</div>
<div class="menu">
<img src="/images/chicken.png" />
<div>
<span id="price">Price:$70.00</span>
<div class="description">
<span>Cooked Chicken</span>
</div>
</div>
<button id="btn">Order</button>
</div>