i want to add textbox in dynamic generated div element with unique id on dropdown change
<p>this is a link of jsfiddle here a entire code ... i want add textbox on dropdown change of children plz help me ...whath is code for it   <a href="http://jsfiddle.net/pYRj3/1/" rel="nofollow">http://jsfiddle.net/pYRj3/1/</a></p>

<pre><code>        $('.hc_evt_children').bind("change",function () {

       var index1 = $("").size();
           var requested = parseInt($(".hc_evt_children").val(), 5);

            if (requested &gt; index1) {
                for (i = index1; i &lt; requested; i++) {
                    var $ctrl = $('&lt;input/&gt;').attr({ type: 'text', name: 'text', value: '' });
                    $("#chileage_" + forage).append($ctrl);
                }
            }
            else if (requested &lt; index1) {
                var x = requested - 1;
               $("#chileage_ input:gt(" + x + ")").remove();
            }
        });
</code></pre>

<p>this code is not working ..which code i use plz provide link on jsfiddle...thanx</p>
