Este site irá ter funcionalidade limitada enquanto fazemos manutenção para melhorar a sua experiência. Se um artigo não resolve o seu problema e quiser colocar uma questão, temos a nossa comunidade de apoio à espera de o ajudar em @FirefoxSupport no Twitter, /r/firefox no Reddit.

Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

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

  • 11 respostas
  • 1 tem este problema
  • 1 visualização
  • Última resposta por 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
Capturas de ecrã anexadas

Modificado por susenj a

Todas as respostas (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.