Answer the question
In order to leave comments, you need to log in
Two buttons causing one action, why doesn't one of them work?
Hello.
The page has one modal window. His call hangs on two buttons, that is, when you click either on the first or on the second, this window should open. For reasons I do not understand, a window opens only by clicking on the button at the top of the page.
Answer the question
In order to leave comments, you need to log in
Instead of id(#)button use class(.)button to make 2-3-4-5-...-100500 buttons work.
id must be unique. two elements with the same id is a blunder.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question