为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Click on checkbox(es) in a webpage doesn't select/deselect the row(s)

  • 11 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 susenj

more options

Experts,

We have an application developed in Java(Struts), in pages having tables with checkboxes to select/deselect rows.

Firefox version: 68.0.1(64-bit) Firefox Quantum and Regular Firefox as well

Issue Description: The click to the checkboxes do not work at all with latest Firefox versions, while they work seamlessly with older Firefox versions (52.0.2/32-bit and below, I have tested) or any other latest browsers(Chrome for example).

Please check the screenshots that shows how it looks in latest versions vs the same page in old versions:

We have tested this on Windows 10 and Mac OSs as well, and the issue remains the same with the latest Firefox versions. I came across similar(not exact) issues in the support forum but none of them were exact or even suggested any workaround / fix / rootcause.

Ask: Need to understand if something is broken in latest Firefox builds or is there any setting/extension that may bring backward compatibility. Please note that in other browsers, we don't see this problem.

Edit: Uploaded non-working snapshot.

Thanks, susenj

Experts, We have an application developed in Java(Struts), in pages having tables with checkboxes to select/deselect rows. Firefox version: 68.0.1(64-bit) Firefox Quantum and Regular Firefox as well Issue Description: The click to the checkboxes do not work at all with latest Firefox versions, while they work seamlessly with older Firefox versions (52.0.2/32-bit and below, I have tested) or any other latest browsers(Chrome for example). Please check the screenshots that shows how it looks in latest versions vs the same page in old versions: We have tested this on Windows 10 and Mac OSs as well, and the issue remains the same with the latest Firefox versions. I came across similar(not exact) issues in the support forum but none of them were exact or even suggested any workaround / fix / rootcause. Ask: Need to understand if something is broken in latest Firefox builds or is there any setting/extension that may bring backward compatibility. Please note that in other browsers, we don't see this problem. Edit: Uploaded non-working snapshot. Thanks, susenj
已附加屏幕截图

由susenj于修改

所有回复 (11)

more options

This may be your problem,

All Firefox v52+ Releases disables all plugins except for Flash Why do Java, Silverlight, Adobe Acrobat and other plugins no longer work? {web link}

more options

Hi susenj, can you provide a link to a page demonstrating the problem?

What was the last version of Firefox that you recall working as expected with your page? You can find documentation on changes for developers here (and links to earlier versions at the bottom of the page), but it would be really helpful to know in which version the behavior changed to narrow it down:

https://developer.mozilla.org/docs/Mozilla/Firefox/Releases/68

more options

Did you check the Web Console for possible error messages?

more options

@FredMcD, I don't think that's an issue as I just tested with Firefox 65 and I found no issues,

@jscher2000, I am afraid I may not be able to provide a link as this is a private application. How else can I collect more information for you? I tested with Firefox 65 and it was working fine. I installed Firefox 66, and found the problem. SO, it looks like it's broken from 66.0 onwards.

@cor-el, I don't see any error messages in the Web Console.

Thanks, Neeraj

more options

If you can't focus the checkboxes then it is possible that another element is overlaying. Can you see the checkboxes in the Inspector of are thes part of an application and out of reach?

You can also try to use the Tab key to see if that can focus the boxes.

more options

cor-el said

If you can't focus the checkboxes then it is possible that another element is overlaying. Can you see the checkboxes in the Inspector of are thes part of an application and out of reach? You can also try to use the Tab key to see if that can focus the boxes.

Thanks for responding. Yes, I can see the checkbox in the inspect windows, please see the screenshot. Also, I can reach to the checkbox with pressing TABs, but the moment I press Space-bar, it just highlights the row and doesn't tick the checkbox.

Thanks, susenj

more options

susenj said

I tested with Firefox 65 and it was working fine. I installed Firefox 66, and found the problem. SO, it looks like it's broken from 66.0 onwards.

Hi Neeraj, Firefox 66 implemented support for window.event, which confuses some older scripts. Could you try disabling it here:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk.

(2) In the search box above the list, type or paste window.e and pause while the list is filtered

(3) Double-click the dom.window.event.enabled preference to switch the value from true to false

You probably need to reload or re-open the page to see whether that makes any difference.

more options

The screenshot that an onclick handler is attached and there is also an event button appended, so there is JavaScript running with various actions that doesn't seem to be working.

more options

@jscher2000, thanks for responding back. I tried what you suggested, it didn't seem to make any difference. I reloaded the browser as well without any luck.

@cor-el, Yes, there is an event on click, but I wonder why that would not work on firefox latest but works fine on any other latest browsers.

Thanks, Neeraj

more options

What kind of JavaScript is attached when you click the event button?

more options

cor-el said

What kind of JavaScript is attached when you click the event button?

It's a customer on-click method written long back which used to work all good. Please check screenshot.