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)
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();
});
Reporter | ||
Comment 1•7 years ago
|
||
EX: $ (".co-call") click (function () {}); This does not work!
Reporter | ||
Comment 2•7 years ago
|
||
(In reply to renessans.777 from comment #1)
> EX: $ (".co-call").click (function () {}); This does not work!
Updated•7 years ago
|
Component: JavaScript: Standard Library → DOM
Reporter | ||
Comment 3•7 years ago
|
||
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
Reporter | ||
Comment 4•7 years ago
|
||
$(".co-apel").click(function(){
alert("succes");
});
In chrome work, in Mozila no.
Reporter | ||
Comment 5•7 years ago
|
||
But
$("#co-apel").click(function(){
alert("succes");
});
Work in Mozila.
Reporter | ||
Comment 6•7 years ago
|
||
<button class="co-apel">Вызвать мастера</button>
Reporter | ||
Comment 7•7 years ago
|
||
How can I return to Mozilla's previous version?
Reporter | ||
Comment 8•7 years ago
|
||
In Mozilla Android work.
![]() |
||
Comment 9•7 years ago
|
||
Updated•7 years ago
|
Flags: needinfo?(bugs)
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → bugs
Flags: needinfo?(bugs)
Updated•7 years ago
|
Priority: -- → P2
Reporter | ||
Comment 10•7 years ago
|
||
The problem was only in Mozilla for PC, it was solved
Assignee | ||
Comment 11•7 years ago
|
||
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)
Reporter | ||
Updated•7 years ago
|
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.
Description
•