jQuery plug-in with additional methods.
- by Kieron
I've a jQuery plug-in that operates on some ULs, adding and removing classes etc.
During the life-cycle of the page, I'll need to add/ remove some classes in code, and as my plug-in needs to perform some additional operations when this happens I came up with the following:
// This is the initialiser method...
$.fn.objectBuilder = function…