A
A
Artyom2016-08-25 04:20:59
css
Artyom, 2016-08-25 04:20:59

How to make an input field for the quantity of goods on bootstrap 3?

It is necessary to make such a field.
a650e5d3805c4c1eac14e1a372fef601.jpg
I found this code but it doesn't work. Is there a bug in the code or is there some other way to do it?

<div class="input-group quantity_goods">
  <input type="number" step="1" min="1" max="10" id="num_count" name="quantity" value="1" title="Qty">
  <input type="button" value="-" id="button_minus">
  <input type="button" value="+" id="button_plus">
</div>

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Bulba, 2016-08-25
@Xserber

And it does not work correctly) Use JS and you will be happy.

A
Anton, 2016-08-25
@Ooos

https://jsfiddle.net/e8e9oL7w/
Goes down, add if you can, no write

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question