0
Different button
Hello I have 2 différents buttons who give 2 differents popups, how the code know in js if i want the first or second popups because it’s« button » for the 2 different buttons... i have tryed to put a different class in thé tag button for do the différence but i don’t know if in js is good ? Thank’s to see my code https://code.sololearn.com/WmPvQaKHvEQJ/?ref=app
3 odpowiedzi
+ 12
There were a few mistakes in ur html and jQuery part.
You forgot to change modalbox1 to modalbox2 in second part and in jQuery, u used both button and its class which was the problem. I have modified some text so that u can see that it is working. Just remove modified here text.
https://code.sololearn.com/WQcvx0SBASN9/?ref=app
0
thank's a lot 😁
0
hello
i have just a little problem, the second button is visible on the first popup and i would that he is unvisible like the second popup...
thank's