View Full Version : JsonStore in IE not working

1 Mar 2011, 4:44 AM
Hey guys,

Here is my JsonStore:

var Store = new Ext.data.JsonStore({
autoLoad: true,
proxy: new Ext.data.HttpProxy ({
url : local.html
fields: [
{name: 'number', mapping: 0},
{name: 'name', mapping: 1}

The response from local.html:

<!-- some comments -->

The problem is caused by the fact that the IE cannot validate the returned result as valid JSON, because of HTML comments. Unfortunately in my case I am not able to remove them. Firefox doesn't have such issues.
Please advise!