Image

Imager_a_d wrote in Imageru_javascript

prototype.js

Как дождаться результата в случае:
    new Ajax.Request( this.url, { method: 'get',
				  parameters: pairs,
				  asynchronous: false,
				  onSuccess: function(x) { alert('saved'); },
				  onFailure: function(x) { alert('damn'); }
				} );

В случае асинхронного запроса всё работает отлично. А вот синхронный я уже третий день осилить не могу.
Google молчит...