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


Groups > comp.lang.javascript > #14852

Re: Why is .click() not effective and requires us to press on Refresh?

From Gregor Kofler <usenet@gregorkofler.com>
Newsgroups comp.lang.javascript
Subject Re: Why is .click() not effective and requires us to press on Refresh?
Date 2012-07-04 13:58 +0200
Organization A noiseless patient Spider
Message-ID <jt1b58$2j4$1@dont-email.me> (permalink)
References <807guldukp.fsf@somewhere.org> <jsuoco$9ea$1@dont-email.me> <804npndfpj.fsf@somewhere.org>

Show all headers | View raw


Am 2012-07-04 11:43, Sebastien Vauban meinte:
> Hi Gregor,
>
> Gregor Kofler wrote:
>> Am 2012-07-03 12:09, Sebastien Vauban meinte:
>>> I've made up an example of what I'm trying to achieve in
>>> http://jsfiddle.net/svajquery/ttVUA/4/.
>>>
>>> I have "tabified" all H2, and want to click on a link in the first tab
>>> ("Dashboard") and want to be redirected on the right place of the second tab
>>> ("Tasks").
>>>
>>> While the URL is correctly displayed in the address bar of the browser (at
>>> least when testing those files in a real browser environment), the .click() is
>>> not effective. I must press on the Refresh button to really go where I want
>>> to.
>>>
>>> Do you have any explanation?  I surely miss something!
>>
>> Indeed. You forgot to ask in a jQuery forum. This NG deals with
>> (Java|ECMA)Script
>
> Where would you ask it, then?
>
> Gmane's jQuery mailing list (gmane.comp.lang.javascript.jquery) seems to be
> completely abandoned for some years.
>
> I've tried asking it as well on jQuery.com (see
> https://forum.jquery.com/topic/jumping-to-the-right-tab-when-h2-are-tabified),
> but got no further answer...

LOL. Where are all those jQuery experts when you need them?

> And that seemed to me as more related to JavaScript, but OK, as far as I dunno
> what's the problem...

Perhaps some old-school debugging would help. As an example:

does $(this.hash) result in a DOM element? Do what does this.hash 
evaluate in this line? $("tab1") probably won't do the trick, but 
$(".tab1") could work.

Gregor

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


Thread

Why is .click() not effective and requires us to press on Refresh? "Sebastien Vauban" <wxhgmqzgwmuf@spammotel.com> - 2012-07-03 12:09 +0200
  Re: Why is .click() not effective and requires us to press on Refresh? Gregor Kofler <usenet@gregorkofler.com> - 2012-07-03 14:26 +0200
    Re: Why is .click() not effective and requires us to press on Refresh? "Sebastien Vauban" <wxhgmqzgwmuf@spammotel.com> - 2012-07-04 11:43 +0200
      Re: Why is .click() not effective and requires us to press on Refresh? SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2012-07-04 12:13 +0200
        Re: Why is .click() not effective and requires us to press on Refresh? "Sebastien Vauban" <wxhgmqzgwmuf@spammotel.com> - 2012-07-04 14:37 +0200
      Re: Why is .click() not effective and requires us to press on Refresh? Gregor Kofler <usenet@gregorkofler.com> - 2012-07-04 13:58 +0200
        Re: Why is .click() not effective and requires us to press on Refresh? "Sebastien Vauban" <wxhgmqzgwmuf@spammotel.com> - 2012-07-05 09:23 +0200
          Re: Why is .click() not effective and requires us to press on Refresh? Gregor Kofler <usenet@gregorkofler.com> - 2012-07-05 14:47 +0200
        Re: Why is .click() not effective and requires us to press on Refresh? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-07-05 16:48 +0200
  Re: Why is .click() not effective and requires us to press on Refresh? SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2012-07-03 20:11 +0200
    Re: Why is .click() not effective and requires us to press on Refresh? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2012-07-03 18:25 +0000
      Re: Why is .click() not effective and requires us to press on Refresh? Gene Wirchenko <genew@ocis.net> - 2012-07-03 13:16 -0700
        Re: Why is .click() not effective and requires us to press on Refresh? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2012-07-03 21:10 +0000
      Re: Why is .click() not effective and requires us to press on Refresh? SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2012-07-04 09:49 +0200
        Re: Why is .click() not effective and requires us to press on Refresh? SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2012-07-04 10:18 +0200
    Re: Why is .click() not effective and requires us to press on Refresh? "Sebastien Vauban" <wxhgmqzgwmuf@spammotel.com> - 2012-07-04 14:36 +0200
      Re: Why is .click() not effective and requires us to press on Refresh? "Sebastien Vauban" <wxhgmqzgwmuf@spammotel.com> - 2012-07-04 15:15 +0200

csiph-web