When i run my simple HTML page I've got it so the ajax code builds an XMLHttpRequest onload, and im trying to put data.txt into a <div> called targetDiv. but it doesnt do ANYTHING when i click the button, is there something wrong in this code?

Code:
<html>

<body  onload= "onLoad()">
<form name="myForm">
<script type="text/javascript">

var XMLHttpRequestObject = false;

if (window.XMLHttpRequest) {
XMLHttpRequest = new XMLHttpRequest();
} else if (window.ActiveXObject) {
XMLHttpRequestObject = new ActiveXObject("Microsoft.XMLHTTP");
}

function getData(dataSource, divID)
{
if(XMLHttpRequestObject) {
var obj = document.getElementById(divID);
XMLHttpRequestObject.open("GET, dataSource);

XMLHttpRequestObject.onreadystatechange = function()
{
if (XMLHttpRequestObject.readyState == 4 &&
XMLHttpRequestObject.status == 200 {
obj.innerHTML = XMLHttpRequestObject.responseText;
}
}

XMLHttpRequestObject.send(null);
}
}


function maximum()
{
var x=document.forms.myForm
x[0].maxLength="5"
}


function onLoad()

{
var d = (new Date() + "").split(" ");
document.getElementById('tradeDate').value = d[0]+" "+d[1]+" "+d[2]+" "+d[5];
}


</script>

<center><h1><u>Trade Buying and Selling Transaction</u></h1></center>

<br>
</font>
<font="Arial" color="white">
<table border="1" align="center">

<td><th>Trade Date: <input id="tradeDate" name="tradeDate" type="text" value=""></th></td>
<td><th>Returning Users: <input type="text" name="user" id="return"><br></th></td>
<td><th>Trade Reference: <input type="text" name="trade" id="trade"></th></td>

</table>
</font>
<br>
<br>

<table border="1" align="center">
<tr>
    <td><th>Buy Currency Code:<input type="text" maxlength="3" onblur = "getData('data.txt','targetDiv')" onkeyup="this.value = this.value.toUpperCase();"></th></td>
	
</tr>

<tr>
  	<td><th>Sell Currency Code:&nbsp<input type="text" name="sellcode" id="sellcode" maxlength=3 onkeyup="this.value = this.value.toUpperCase();"></th></td>
</tr>
</table>

<br>
<br>

<table border="1" align="center">

<td><th>Exchange Rate:&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp <input type="text" name="xrate" id="xrate"></th></td>

</table>

<br>
<br>

<table border="1" align="center">
<tr>
    <td><th>Buy Value:&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<input type="text" name="buyval" id="buyval"></th></td>
</tr>

<tr>
  	<td><th>Sell Value:&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<input type"text" name="sellval" id="sellval" maxlength=3></th></td>
</tr>
</table>

<br>
<br>

<table border="1" align="center">
<tr>
    <td><th>Customer Code:</th></td>
    <td><th>Settlement:</th></td>
</tr>

<tr>
  	<td><th><input type"text" name="code" id="code"></th></td>
  	<td><th><input type"text" name="settlement" id="settlement"></th></td>
</tr>
</table>

<br>
<br>

<table border="0" align="center">
<tr>

<td><input type="submit" name="submit" id="submit" align="center" onclick = "getData(http://localhost/ch03/data.txt','targetDiv')"> </td>

</tr>
</table>

<input type = "button" value = "Display Message"
onclick = "getData(http://localhost/ch03/data.txt','targetDiv')">



</body>
</html>
thanks in advance