I asked a question about sending data from a class to it's parent class (I know js has no classes but I've used prototype).
It was suggested to use delegate.
I read some more about delegate and find in the jquery docs it's out of date. So what should I be using? on? If so how would it work in my example? All the examples for .on refer to buttons or dom elements.