this one : http://www.openlayers.org/api/OpenLayers.js
I presume it is the trunk version isn't it ?

What you say about the request object matches with what I've read in the 
doc effectively. I'm going to try your second way. Thanks.

Guillaume

Eric Lemoine a écrit :
> On Tue, Feb 19, 2008 at 10:49 PM, Guillaume Sueur
> <[EMAIL PROTECTED]> wrote:
>> hmm, just tried :
>>  AjaxTransfert = OpenLayers.loadURL("proxy.py?nom=" +
>>  f.attributes["nom"],"",null,getDetails);
>>
>>  AjaxTransfert is always undefined as the loadURL function doesn't seem
>>  to return anything.
> 
> What OL version are you using? In trunk OpenLayers.loadURL does return
> an object with a transport property on which you can call abort. If
> the version you're using doesn't have that you can probably use that
> instead:
> 
> var request = new OpenLayers.Ajax.Request(url);
> and then do request.transport.abort().
> 
> Hope this helps,
> --
> Eric
> 

-- 
Guillaume SUEUR

_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to