Ajax loaded checkbox shows undefined in jquery
<p>I'm using a checkbox to enable my select Option tag. Both select option tag and checkbox are load from ajax. Select option work fine but checkbox shows undefined. But work fine to enable my disabled select tag.  Here is my code:</p>

<pre><code>$.ajax({
    url: url,
    type: "GET",
    cache: false,
    dataType: "JSON",
    success: function (data) {
        var content = '';
        content += '&lt;select id="package" name="package" class="form-control col-md-7 col-xs-12" required="required" disabled="disabled"&gt;';
        content += '&lt;option value="0"&gt;&lt;/option&gt;';
        content += '&lt;option value="500"&gt;having 200 to 500 students&lt;/option&gt;';
        content += '&lt;option value="750"&gt;having 500 to 750 students&lt;/option&gt;';
        content += '&lt;option value="1000"&gt;having 750 to 1000 students&lt;/option&gt;';
        content += '&lt;option value="1500"&gt;having 1000 to 1500 students&lt;/option&gt;';
        content += '&lt;/select&gt;';

        $("#package_field").html(content); 
       /*for unable_package_field*/
        var content2;
        content2 += '&lt;div class="col-md-1 col-sm-1 col-xs-1" style="margin-top: 6px;"&gt;';
        content2 += '&lt;input type="checkbox" id="unable_package" name="unable_package" class="flat" checked="checked"&gt;';
        content2 += '&lt;/div&gt;';
        $("div#unable_package_field").html(content2);


        $('input[type="checkbox"]').on("click", function () {
            $("div#package_field select").prop("disabled", false);
        });
    }
});
</code></pre>

<p>When it's load everything is ok. But undefined text shows over the checkbox. What kind of change for undefined...</p>