[jQuery] Attach Event to "Class" Instantiation
I tried posting this a few minutes ago but it didn't appear - so sorry
if this is a dupe.
This is a bit of an irregular question, but is it possible to attach
an event to a class instantiation?
For example:
function Person() {
/* constructor code */
}
var bob = new Person(); // instantiation event fires here
My gut feeling is that this isn't possible, but I wanted some input
before I dismissed the idea. Thanks!