X
Tik hier voor de mobiele versie van de website.

Ondersteuningsforum

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

Geplaatst

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
Gekoppelde schermafbeeldingen

Bewerkt door susenj op

Citeren

Aanvullende systeemdetails

Geïnstalleerde plug-ins

  • Shockwave Flash 32.0 r0

Toepassing

  • Useragent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0

Meer informatie

FredMcD
  • Top 10 Contributor
4305 oplossingen 60413 antwoorden

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}

This may be your problem, All Firefox v52+ Releases disables all plugins except for Flash [https://support.mozilla.org/en-US/kb/npapi-plugins Why do Java, Silverlight, Adobe Acrobat and other plugins no longer work?] {web link}
Was dit nuttig voor u? 0
Citeren
jscher2000
  • Top 10 Contributor
8837 oplossingen 72222 antwoorden

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

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
Was dit nuttig voor u?
Citeren
cor-el
  • Top 10 Contributor
  • Moderator
17670 oplossingen 159854 antwoorden

Did you check the Web Console for possible error messages?

Did you check the Web Console for possible error messages? *"3-bar" menu button or Tools -> Web Developer *https://developer.mozilla.org/en-US/Tools/Web_Console
Was dit nuttig voor u? 0
Citeren

Vraageigenaar

@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

@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
Was dit nuttig voor u?
Citeren
cor-el
  • Top 10 Contributor
  • Moderator
17670 oplossingen 159854 antwoorden

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.

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? *https://developer.mozilla.org/en-US/Tools/Page_Inspector You can also try to use the Tab key to see if that can focus the boxes.
Was dit nuttig voor u? 0
Citeren

Vraageigenaar

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

''cor-el [[#answer-1241123|said]]'' <blockquote> 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? *https://developer.mozilla.org/en-US/Tools/Page_Inspector You can also try to use the Tab key to see if that can focus the boxes. </blockquote> 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
Was dit nuttig voor u?
Citeren
jscher2000
  • Top 10 Contributor
8837 oplossingen 72222 antwoorden

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.

''susenj [[#answer-1241120|said]]'' <blockquote>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. </blockquote> 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.
Was dit nuttig voor u?
Citeren
cor-el
  • Top 10 Contributor
  • Moderator
17670 oplossingen 159854 antwoorden

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.

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.
Was dit nuttig voor u?
Citeren

Vraageigenaar

@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

@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
Was dit nuttig voor u?
Citeren
cor-el
  • Top 10 Contributor
  • Moderator
17670 oplossingen 159854 antwoorden

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

What kind of JavaScript is attached when you click the event button?
Was dit nuttig voor u?
Citeren

Vraageigenaar

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.

''cor-el [[#answer-1241370|said]]'' <blockquote> What kind of JavaScript is attached when you click the event button? </blockquote> It's a customer on-click method written long back which used to work all good. Please check screenshot.
Was dit nuttig voor u?
Citeren
Een vraag stellen

U moet zich aanmelden bij uw account om op berichten te antwoorden. Stel een nieuwe vraag als u nog geen account hebt.