I have used AJAX lots before and I wondered if it was possible to set variables from an AJAX file E.G. an ajax file could set
var set1 = 10;
var set2 = 55;
with both variables coming from an external file called by AJAX
Could you tell me the JS side for performing the request and the format of the file that is requested.