Все, что внутри .append не отображается, вне зависимости от того, что там. Консоль не выдает ошибок.
var count = 0;
function add_new_field(){
count++;
$('<input type="text" />')
.attr('id','file_'+count)
.attr('name','file_'+count)
.append(
$('<span id="del_'+count+'"><a href="#" onclick="$(\'#file_'+count+'\').remove();">X</a></span>')
)
.appendTo('#file_field');
}
after
вместоappend
:)