trigger a function on DOM load
<p>I have this little function : </p>

<pre><code>$('.chrnumberpickerDiv select').change(function(){
    var sel = $(this),
    value = sel.closest('.chrnumberpickerDiv').find('.chrnumberpickerDivText');
    value.text(sel.find(':selected').text());
}).one('change');
</code></pre>

<p>My problem is that I also need to trigger it on DOM load. I have tried <code>.trigger('change')</code> instead of <code>.one('change')</code> but it seems like it goes in a loop and never stops refreshing my page. So what could I be doing to trigger the event on DOM but without causing any damages to other events or whatever makes the function go in a loop ?</p>
