input file文件chang事件只触发一次有关问题

input file文件chang事件只触发一次问题
 小弟用 ajaxfileupload上传文件没有问题,但是只能触发一次change事件,后来网上查询用一下方法可以解决, 但我只要执行,就会浏览器死掉, 我前面以为是jquery版本的问题, 后来我更新了1.7, 1.8, 1.11, 2.1等多个版本,同样的问题,不知道如何解决,请大侠赐教。谢谢。

var count = -1;
    $("#upload").live("change", function () {
        count++;
    $.ajaxFileUpload(config);
    $("#upload").replaceWith("<input type='file' id='upload' name='upload' style='position:relative; top:0px; left:-240px; width:346px; height:46px; opacity:0; filter: Alpha(Opacity=0); cursor:pointer; title=" + count + "' />");
})

------解决方案--------------------
 $("#upload").replaceWith("<input type='file' id='upload' name='upload' style='position:relative; top:0px; left:-240px; width:346px; height:46px; opacity:0; filter: Alpha(Opacity=0); cursor:pointer; title=" + count + "' />")

把这一句的写法换掉, 不用replaceWith. 通过$().css, $(),.attr()来进行赋值试试
------解决方案--------------------
哈哈 你用谷歌浏览器调试  是不是控制台输出堆栈溢出的英文错误 如果是 请@我