append是添加内容,事件绑定用bind或者on,事件名称不要加on
$('#input1').bind('change',function(){getImgURL(this)});
bind和on是对的
append("onChange",getImgURL(this));