$.get("/files/tmp.txt", function(data) {

    var lines = data.split("\n");

    $.each(lines, function(n, elem) {

        alert(elem);

    })

})

참조 : http://blog.naver.com/theminthemax/130134925231



내 목적은 $("#tmpBox").html(data);