Berpcor2: you would have to.

Szychowski: Squarism i don’t know what that means in this case.

Szychowski: Https:// but osmething like this

Szychowski: Gotta go to lunch. enjoy.

Escovar: Szychowski, hmm. you might be ontoi something. but the ids arent numeric

Balque: Maybe i can find all node beneth root, locate myLoc in and its index.

Demling: Http://,js,output

Montague: Why I get Window object as this when I call doSomething function?

Ihm: Cause it’s not bound to anything else

Ihm: What else would it be?

Ide: Berpcor2: dosomething doesn’t have a this

Bolus: Hi guys how do i find out if i have an eventlistener on an id?

Kuehnle: So it gets the global window object

Weichel: Berpcor2: you want console.logdosomething.callthis

Banegas: Or send it as a normal variable

Ihm: Or bind that function directly

Spurlin: Berpcor2: also i think what you’re trying to do is simplest done through .trigger’click’ on the body element

Varuzzo: I have this code which seem to work on jsfiddle but on my site it doesnt seem to work

Waddups: Cork: Got it. Thanks.

Arendt: So i want to find out if they is actually an event listner on that id

Stoots: I tried to give you a fix but jsbin loses the changes as always

Betry: Cork: Actually, I try to understand what means this in different situations. Scope understadning.

Kyle: Berpcor2: this is set with .call or .apply

Reyers: It is an explicit defined variable for each function

Ihm: Eddy: which id? the accordion appears to be working, if it’s the bottom element

Keirstead: Cork: or. when I am listening to some actions on.?

Esteve: Ihm, on the jsfiddle yea but on my site it aint

Desando: Berpcor2: on internally inside the browser does the same thing as .call

Ihm: Ok, any console errors?

Hardage: Ihm, what do you mean bottom element?

Balerio: Berpcor2: so no actually, it is the same thing

Ihm: The section 1 section 2 part

Clayter: Cork: Oh, interesting.

Kopplin: Think of it as this: function oncallback { whentriggered { callback.callelement, event; } } //psudo code

Spickerman: Ihm, yes the section 1 and 2 part

Ihm: Console.log your selector right before your doing the accordion on it and make sure it’s finding it length 0

Ihm: And

Ihm: Wish we could program b-ot with that as like ?debug

Friedlander: Ihm, how do you console log a selector if you dont mind me asking

Ihm: Console.log$’selector’;

Ihm: Put .length on it if you want to just see the number

Skalecki: Cork: One more thing about javascript. function someFunce{}; e.preventDefault; Where is this e from? Why this is e? I understand that function gets some arguments and here can be any name. But how do I know what exactly gets any function: my, custom functions or any other like functions during ajax calls?. I use it for a long time. But I don’t understand the underlying concept.

Madalinski: Berpcor2: it is event

Brodie: Berpcor2: it is the second argument to call in my example

Ihm: It can be named anything, however, but tradition is e or event or something like that

Hulick: Cork: Yes, it is a shorthand from event.

Egwuohua: Berpcor2: as any function based language you can name the variables in a function what ever you like

Ordway: How do I know what arguments functions gets. I’ll give you an example. moment.

Yoshi: Berpcor2: you would have to look at do***entation