aboutsummaryrefslogtreecommitdiff
path: root/ajax/database/selectuser.js
diff options
context:
space:
mode:
authorthirdid <thirdid@c5b2fb0a-d05d-0410-98c8-828840a80ff6>2009-12-20 19:13:05 -0500
committerthirdid <thirdid@c5b2fb0a-d05d-0410-98c8-828840a80ff6>2009-12-20 19:13:05 -0500
commit8347bdd445b646ea77c43228253ce9aefa6a8c88 (patch)
tree5c25e1bf8041fcd6c310789578f47c36ec22ee1c /ajax/database/selectuser.js
parentbe071aeb7565e46c670a6d9486a1f1b8a06971ab (diff)
downloadbayonetcms-8347bdd445b646ea77c43228253ce9aefa6a8c88.tar.gz
Removed branches/Bayonet CMS v2/ajax
Accidental addition of code. git-svn-id: http://svn.3rd-infantry-division.org/testing/branches/Bayonet CMS v2@382 c5b2fb0a-d05d-0410-98c8-828840a80ff6
Diffstat (limited to 'ajax/database/selectuser.js')
-rw-r--r--ajax/database/selectuser.js40
1 files changed, 0 insertions, 40 deletions
diff --git a/ajax/database/selectuser.js b/ajax/database/selectuser.js
deleted file mode 100644
index a91721e..0000000
--- a/ajax/database/selectuser.js
+++ /dev/null
@@ -1,40 +0,0 @@
-var xmlhttp;
-
-function showUser(str)
-{
-xmlhttp=GetXmlHttpObject();
-if (xmlhttp==null)
- {
- alert ("Browser does not support HTTP Request");
- return;
- }
-var url="getuser.php";
-url=url+"?q="+str;
-url=url+"&sid="+Math.random();
-xmlhttp.onreadystatechange=stateChanged;
-xmlhttp.open("GET",url,true);
-xmlhttp.send(null);
-}
-
-function stateChanged()
-{
-if (xmlhttp.readyState==4)
-{
-document.getElementById("txtHint").innerHTML=xmlhttp.responseText;
-}
-}
-
-function GetXmlHttpObject()
-{
-if (window.XMLHttpRequest)
- {
- // code for IE7+, Firefox, Chrome, Opera, Safari
- return new XMLHttpRequest();
- }
-if (window.ActiveXObject)
- {
- // code for IE6, IE5
- return new ActiveXObject("Microsoft.XMLHTTP");
- }
-return null;
-} \ No newline at end of file