diff --git a/lib/OpenLayers/Ajax.js b/lib/OpenLayers/Ajax.js index 8c044a302b..08e5b29c82 100644 --- a/lib/OpenLayers/Ajax.js +++ b/lib/OpenLayers/Ajax.js @@ -43,7 +43,9 @@ OpenLayers.nullHandler = function(request) { * * Parameters: * uri - {String} URI of source doc - * params - {String} Params on get (doesnt seem to work) + * params - {String} or {Object} GET params. Either a string in the form + * "?hello=world&foo=bar" (do not forget the leading question mark) + * or an object in the form {'hello': 'world', 'foo': 'bar} * caller - {Object} object which gets callbacks * onComplete - {Function} Optional callback for success. The callback * will be called with this set to caller and will receive the request