Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #14864
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | "Sebastien Vauban" <wxhgmqzgwmuf@spammotel.com> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: Why is .click() not effective and requires us to press on Refresh? |
| Date | Thu, 05 Jul 2012 09:23:12 +0200 |
| Organization | Sebastien Vauban |
| Lines | 42 |
| Message-ID | <80r4sqwu1r.fsf@somewhere.org> (permalink) |
| References | <807guldukp.fsf@somewhere.org> <jsuoco$9ea$1@dont-email.me> <804npndfpj.fsf@somewhere.org> <jt1b58$2j4$1@dont-email.me> |
| Mime-Version | 1.0 |
| Content-Type | text/plain |
| Injection-Info | mx04.eternal-september.org; posting-host="XagHMo1qM1HuK1lQg5GM9g"; logging-data="16128"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/WmHwfTcMC3Y6WqPLSDSmf" |
| User-Agent | Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1 (windows-nt) |
| X-Archive | encrypt |
| Cancel-Lock | sha1:Cq+H9lS2njpZf7ocWEj7RNYL5QU= sha1:dht5yDXwcBd8KWjodgmlsE7FVFA= |
| X-Url | Under construction... |
| Xref | csiph.com comp.lang.javascript:14864 |
Show key headers only | View raw
Hi Gregor,
Gregor Kofler wrote:
> Am 2012-07-04 11:43, Sebastien Vauban meinte:
>> 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!
>
> Perhaps some old-school debugging would help. As an example:
>
> does $(this.hash) result in a DOM element?
As I said, I'm absolutely no expert. How do you test that? With an alert box?
> Do what does this.hash evaluate in this line? $("tab1") probably won't do
> the trick, but $(".tab1") could work.
If I write: alert($(this.hash));
the only thing I see displayed is: [object Object]
If I write: alert($(this.hash).toSource());
I get: ({length:1, 0:({}), context:({}), selector:"#dashboards"})
Does this help?
Best regards,
Seb
--
Sebastien Vauban
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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