D
D
dfymrf32021-07-12 12:57:29
css
dfymrf3, 2021-07-12 12:57:29

Disappearing not working correctly?

Please tell me, when I click on the mouse, the coin disappears, and when I release it, it appears back, how to make the coin disappear when you click - as if you are taking it away.
Shove a bill -> get change -> Coins that can't be made to disappear on click
opacity
visibility
display none
the same happens

a0559877.xsph.ru/coffee_machine.html

help make it disappear when you click on a coin

Sorry in advance, because I just started study, and I understand the maximum curvature ...
Please help me broke my whole head

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dvach, 2021-07-13
@Dvach

As a suggestion - use JQuery bind the click event and use the .hide() method

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question