e="email" id="email" class="form-control" type="email">'; } } } $("#ext_fields").html(html); } }); } $(document).ready(function(){ get_fields(8); });