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


Groups > comp.lang.javascript > #26843

Re: FireFox onclick problem

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.albasani.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From "Christoph M. Becker" <cmbecker69@arcor.de>
Newsgroups comp.lang.javascript
Subject Re: FireFox onclick problem
Date Tue, 10 Feb 2015 23:37:25 +0100
Organization solani.org
Lines 30
Message-ID <mbe16v$vj2$1@solani.org> (permalink)
References <cjuvd1F7thrU1@mid.individual.net>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
X-Trace solani.org 1423607839 32354 eJwFwYEBwCAIA7CXFFoY5zgq/59gQo8dnQgGOJzD/2imgatPJSRMvro2PE6Puag0c1t1q/IBNjUROg== (10 Feb 2015 22:37:19 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Tue, 10 Feb 2015 22:37:19 +0000 (UTC)
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
X-User-ID eJwFwYkBwCAIA8CVwpOg41iR/UfoHUOmWykqORxcFdoG44SdtTs/71xBMZbeGDzfjnOweat+CIYQPg==
In-Reply-To <cjuvd1F7thrU1@mid.individual.net>
Cancel-Lock sha1:0fOuEqVJKYTyBjIvWK2BJRPi8hg=
X-NNTP-Posting-Host eJwNxMERACEIA8CW4IQg5TjE9F+Ct4/NBcdUIBGpVPuZPycVdj+XaRO8ubqlNrC2bIJWHnXmASmSEW8=
Xref csiph.com comp.lang.javascript:26843

Show key headers only | 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