var v = document.getElementById("butt");
if(v.addEventListener)
	v.addEventListener("click", func, false);
else if(v.attachEvent)
	v.attachEvent('conclick', func);
function func(){
	var ta = document.getElementById('divide');
	var x = new XMLHttpRequest;
	x.open("GET", "test.html");
	x.onreadystatechange =function(){
		x.responseType = "document";
		ta.innerHTML = x.responseText;
	}
	x.send();

var v = document.getElementById("butt");
if(v.addEventListener)
	v.addEventListener("click", func, false);
else if(v.attachEvent)
	v.attachEvent('conclick', func);
function func(){
	var ta = document.getElementById('divide');
	var x = new XMLHttpRequest;
	x.open("GET", "test.html");
	x.onreadystatechange =function(){
		x.responseType = "document";
		ta.innerHTML = x.responseText;
	}
}
	x.send();

Update script.js