I have function on input change, it works for the first input that is already there, but when jscript adds aother
Input object with appendTo, the same function does'nt work...
$("input[type=file]").change(function() {
$('<input name="fails[]" type="file" />').appendTo('#input_lauki');
$('<a href="#" onclick="dzest(this);return false" class="link" name="dzest" style="font-weight:normal; display:inline;">Izdzēst</a><br/>').appendTo('#input_lauki')
$('.link').css('display','inline');
});
Thank you!