Closed Bug 1446771 Opened 7 years ago Closed 7 years ago

There is no "onclick" for 'class' after the last update

Categories

(Core :: DOM: Events, defect, P2)

59 Branch
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: renessans.777, Assigned: smaug)

References

Details

(Keywords: site-compat)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0 Build ID: 20180315233128 Actual results: "Onclick" does not work if the "class" is specified, because "id" works fine: EX: $ ("co-call") click (function () {}); This does not work! EX: $ ("# shadow-body"); click (function () {}); It works! 03/18/2018 Mozila has updated and no longer worked! The same <script> for google works. Website http://site-md.com/arron/ (button "Вызвать Мастера") Expected results: $(".co-apel").click(function(){ // show pop-up ex:$("#pop-up").show(); });
EX: $ (".co-call") click (function () {}); This does not work!
(In reply to renessans.777 from comment #1) > EX: $ (".co-call").click (function () {}); This does not work!
Component: JavaScript: Standard Library → DOM
Everything is correct! The red button "Вызвать мастера" in chrome works, a simple alert. The red button "Вызвать мастера" in Mozila does not work, a simple alert. Web site http://site-md.com/arron/ try
$(".co-apel").click(function(){ alert("succes"); }); In chrome work, in Mozila no.
But $("#co-apel").click(function(){ alert("succes"); }); Work in Mozila.
<button class="co-apel">Вызвать мастера</button>
How can I return to Mozilla's previous version?
In Mozilla Android work.
Flags: needinfo?(bugs)
Assignee: nobody → bugs
Flags: needinfo?(bugs)
Priority: -- → P2
The problem was only in Mozilla for PC, it was solved
Reporter, any chance you could upload a minimal testcase showing the issue? Use the 'Add an attachment' link in this page. Right now I'm getting the same behavior on http://site-md.com/arron/ in Firefox and in Chrome.
Flags: needinfo?(renessans.777)
See Also: → 1447993
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Flags: needinfo?(renessans.777)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.