All pastes #609536 Raw Edit

Someone

public javascript v1 · immutable
·published 2007-07-08 22:58 UTC
rendered paste body
function getOptions(stage){	var url = baseURL + queryURL + '?stage=' + stage;	var returnedOptions;	new Ajax.Request(url, {		method: 'get',		onSuccess: function(transport) {			returnedOptions = eval('(' + transport.responseText + ')');			}	});	return returnedOptions;}