Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #26843

Re: FireFox onclick problem

From "Christoph M. Becker" <cmbecker69@arcor.de>
Newsgroups comp.lang.javascript
Subject Re: FireFox onclick problem
Date 2015-02-10 23:37 +0100
Organization solani.org
Message-ID <mbe16v$vj2$1@solani.org> (permalink)
References <cjuvd1F7thrU1@mid.individual.net>

Show all headers | View raw


Mel Smith wrote:

>     IE and Chrome both 'hide' the <div> below when a user 'clicks' on the 
> button.
> 
>     However, an automatically updated version of FF does NOT .
> 
>     That is, when a user 'clicks' on the 'Hide Me' button, nothing happens. 
> Very few (any ??) of my users have FF installed, and I very seldom use FF. 
> But month ago, I *believe* it worked correctly -- but I'm not sure.
> 
> Question:
> 
>     What FF setting could I have (somehow) set wrongly such that 'onclicks' 
> were not acted on.

Maybe JavaScript is disabled completely, or some installed plugin blocks
the execution?  Maybe Content Security Policy[1] is enabled?

I suggest to place a quick debug statement at the beginning of
hidenotice() to see whether the function is called at all, e.g.

  alert('hidenotice');

And, of course, have a look at the error console of Firefox.

[1] <http://en.wikipedia.org/wiki/Content_Security_Policy>

-- 
Christoph M. Becker

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

FireFox onclick problem "Mel Smith" <syntel@cox.net> - 2015-02-10 11:02 -0700
  Re: FireFox onclick problem "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-02-10 20:32 +0100
    Re: FireFox onclick problem "Mel Smith" <syntel@cox.net> - 2015-02-10 14:55 -0700
  Re: FireFox onclick problem Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2015-02-10 19:34 -0200
    Re: FireFox onclick problem "Mel Smith" <syntel@cox.net> - 2015-02-10 15:21 -0700
  Re: FireFox onclick problem "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-02-10 23:37 +0100
    Re: FireFox onclick problem "Mel Smith" <syntel@cox.net> - 2015-02-10 16:21 -0700

csiph-web