jqGrid from USGS geojson data
问题 I'm trying to read and post in a jqGrid a set of earthquakes GeoJSON data extracted from USGS repository. The request is accepted, but displays "Uncaught SyntaxError: Unexpected token" when probably meets the header metadata. $(function () { 'use strict'; $.extend($.jgrid.search, {multipleSearch: true, multipleGroup: true, overlay: 0}); $('#grid').jqGrid({ url: 'http://earthquake.usgs.gov/earthquakes/feed/geojson/2.5/week?callback=?', datatype: 'json', colModel: [ {name: 'mag', label: