Заватнажити файл
$(document).ready(function(){
$("button1").click(function(){
$("#div1").load("1.txt");
});
});
$.get("1.txt", function(response) {
var logfile = response;
alert(logfile);
});
$(document).ready(function(){
$("button1").click(function(){
$("#div1").load("1.txt");
});
});
$.get("1.txt", function(response) {
var logfile = response;
alert(logfile);
});