Witam. Chciałem napisać program ,który po kliknięciu "submit" pobiera z pliku txt tekst i wyświetla go w oknie diva. Za pomoca XML napisałem to , lecz teraz muszę ajaxem. Używam do tego biblioteki SACK

Musze jej użyć - proszę o pomoc
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
body
{
background-color: orange;
}
<script type="text/javascript"> var ajax = new sack();
function doit(){
var form = document.getElementbyId('form');
ajax.method = POST;
ajax.requestFile = "index3.php";
ajax.element='div1';
ajax.runAJAX();
}
<form action="index3.php" method="POST" id="form"> <input type="submit" value="Pokaz" onclick="doit();return false;" onDblClick="doit(); return false;"/> <div id="div1" style="background-color: silver; border: 2px solid green;
width: 300px;
height: 300px;
color: white;
margin: 10px;
overflow: auto">