Skip to main content
Stack Overflow
  1. About
  2. For Teams

Timeline for Implement a callback function inside a function

Current License: CC BY-SA 3.0

11 events
when toggle format what by license comment
Oct 22, 2014 at 14:55 vote accept vidulaJ
Oct 22, 2014 at 11:02 answer added Viliam timeline score: 3
Oct 22, 2014 at 9:49 review Close votes
Oct 29, 2014 at 0:03
Oct 22, 2014 at 9:42 comment added Quentin I still don't understand what you are trying to achieve, but what you are doing makes no sense and achieves nothing, so you are probably doing it wrong.
Oct 22, 2014 at 9:39 comment added vidulaJ I am trying to implement a callback function to a callback function inside the former callback function. I just want to know whether I am doing it right or what the right method is?
Oct 22, 2014 at 9:36 comment added Quentin "Here I have to call the callback function like this" — That overwrites the callback function with a new function and doesn't call it at all. What are you trying to achieve?
Oct 22, 2014 at 9:31 history edited vidulaJ CC BY-SA 3.0
added 123 characters in body
Oct 22, 2014 at 9:28 comment added vidulaJ There is also a callback function for loadXML() which is defined there and I want to have another callback function to that function. Let me update the code then.
Oct 22, 2014 at 9:28 comment added Quentin Why would you define a function and then not use it? And if you aren't passing it into the function, it isn't really a callback anyway. What are you actually trying to achieve?
Oct 22, 2014 at 9:22 comment added Ismael Miguel I think that the callback is a parameter to loadXML() and isn't passed anywhere else. Did you try console.log(arguments); inside the function?
Oct 22, 2014 at 9:18 history asked vidulaJ CC BY-SA 3.0

AltStyle によって変換されたページ (->オリジナル) /