For the trunk, you must use params like this:
var params = {
'toto': "blabla",
'titi': "haha"
};
>
>
> When calling this function the 'params' parameter doesn't work.
> I think I've found why :
>
> When you call OpenLayers.loadURL(url, param,... ) and you give string like
> param = "toto=blabla&titi=haha";
>
> The following function (Ajax.js, line 257) :
> this.options.parameters = OpenLayers.Util.getParameters(
> this.options.parameters);
> return null.
>
> OpenLayers.Util.getParameters() seems to need a full url like
> "page.php?toto=blabla&titi=haha"
> to work.
> if you only give the params, it return null. So parameters are lost.
>
> Regards,
> Jean-Christophe
>
>
--
Li XinGang
EMail: [EMAIL PROTECTED]
Blog: avlee.cnblogs.com
Site: www.mapboost.org.cn
_______________________________________________
Dev mailing list
[email protected]
http://openlayers.org/mailman/listinfo/dev