Is it possible to have a piece of code or a function that does the following.
I would like for a javascript file to send a request to a different domain of mine with a variable. This webpage would check the variable against the database and return to the original javascript file the result of being either TRUE or FALSE
If you are sending requests between domains, you should have a look at http://api.jquery.com/jQuery.ajax/ with the
dataTypeset tojsonpto load the response using a script tag.More details on JSONP: https://stackoverflow.com/search?q=jsonp