Hi list,

Is there a way to pass a parameter to the callback method that is called in
an ajax request?

Something like this:

myRequest = OpenLayers.Request.GET(
                {
                        url :myUrl,
                        callback :myCallback(myParameter)
                });

and then:

function myCallback(response, myParameter) {
....


Thanks,


-Z

-- 
View this message in context: 
http://n2.nabble.com/Passing-parameters-to-ajax-request-callback-method-tp2487503p2487503.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.

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

Reply via email to