I want to build a simple web page that queries a database, on a different domain, via a GET request and indicate on the page/a new page if the query is successful. Like a downforeveryoneorjustme for this specific database.
I don't think I can make an AJAX GET request because of the different domain.
I can get a valid XML response with something like the following, but I have no idea how to use that response. Is there a simple way using only javascript? If not what do I need to look at to do this?
<form method="get" action="http://XXX.XX.XX.XX:XXX">
<input type="text" name="text" value="apples" />
<input type="text" name="number" value="4351" />
<input type="submit" value="go" >
</form>
EDIT: I also need to check one of the values of the XML returned. Thanks.