XMLHTTPRequest
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
To
:
users@xxxxxxxxxxxxxxxx
Subject
: XMLHTTPRequest
From
: Ted Hickox <
megelinic@xxxxxxxxx
>
Date
: Wed, 15 Jul 2015 11:12:21 -0500
Reply-to
:
users@xxxxxxxxxxxxxxxx
I'm trying to master AJAX. This is my _javascript_ code:
var Data_Display
var My_Data
function Setup() {
My_Data = new XMLHttpRequest();
My_Data.open("GET","
http://localhost:8080/exist/rest/db/apps/HTML_Student/SVG_Data.xq
");
My_Data.send();
document.getElementById("Information").value = My_Data.responseXML;
}
This is my XML
<xml>
<svg>
<svg_data>100</svg_data>
</svg>
</xml>
This is my XQuery
xquery version "3.0";
for $Data in doc("Database_Example.xml")/xml/svg/svg_data
where $Data = "">
return $Data
When I open my webpage, nothing appears in the textbox. Am I doing something wrong?
Follow-Ups
:
Re: XMLHTTPRequest
From:
Marat Khalili
Prev by Date:
Odd behaviour with LDAP authentication
Next by Date:
rewrite rule leads to infinite rewrite loop at apache
Previous by thread:
Odd behaviour with LDAP authentication
Next by thread:
Re: XMLHTTPRequest
Index(es):
Date
Thread
[Index of Archives]
[Open SSH Users]
[Linux ACPI]
[Linux Kernel]
[Linux Laptop]
[Kernel Newbies]
[Security]
[Netfilter]
[Bugtraq]
[Squid]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Samba]
[Video 4 Linux]
[Device Mapper]