Javascript function as a parameter to another function?
Hello there, I'm learning lots of javascript these days, and one of the things I'm not quite understanding is passing functions as parameters to other functions. I get the concept of doing such things, but I myself can't come up with any situations where this would be ideal. My question is: When do you want to have your javascript fun...