function getThingDetails(id) {
var details = 'front';
new Ajax.Request('/things/ajax.locationmap.php', {
method: 'post',
parameters: {tid: id},
onSuccess: function(transport) {
details += transport.responseText + 'end';
callSomeFunction(details)
}
});
}
|

