detecting "element was created" in jquery
<p>I have several textboxes that are all of the same css class MyClass. I'm creating HTML at runtime. I'm wondering how to detect that a new MyClass textbox was added to the DOM.</p>

<p>I'd like something like this:</p>

<pre><code>$('.MyClass').wascreated(function () {
//do something
});
</code></pre>

<p>Thanks for your suggestions.</p>
