So found out yesterday that anonymous methods exist in javascript. Who knew?
divToAdd.onmouseover = function() { picker.changeStyles(divToAdd, true); };
Where picker.changeStyles is a method on a class. Javascript is starting to grow on me.
There are 10 types of people in the world: Those who understand binary and me.
So found out yesterday that anonymous methods exist in javascript. Who knew?
divToAdd.onmouseover = function() { picker.changeStyles(divToAdd, true); };
Where picker.changeStyles is a method on a class. Javascript is starting to grow on me.