01.
<script>
02.
function
loadXML(){
03.
var
borw =document.getElementById(
"borw[]"
).value;
04.
05.
var
xmlhttp;
06.
if
(window.XMLHttpRequest){
07.
xmlhttp=
new
XMLHttpRequest();
08.
}
09.
else
{
10.
xmlhttp=
new
ActiveXObject(
"Microsoft.XMLHTTP"
);
11.
}
12.
xmlhttp.onreadystatechange=
function
(){
13.
if
(xmlhttp.readyState==4&& xmlhttp.status==200){
14.
document.getElementById(
"showmydata"
).innerHTML=xmlhttp.responseText;
15.
}
16.
}
17.
xmlhttp.open(
"GET"
,
"ShowBorrow.php?borw="
+borw,
true
);
18.
xmlhttp.send();
19.
20.
}
21.
</script>