Are you getting the JSON via the response object?

eg
                                    Ext.Ajax.request({
                                        url:'myscript',
                                        method:'GET',
                                        params:{
                                        },
                                        success:function(response){
var l = new OpenLayers.Format.JSON().read(response.responseText);
                                        }

Does the JSON look properly formed when you look at response.responseText in the debugger?

Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.

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

Reply via email to