# resources (as a JSON feed)

> FullCalendar v3 documentation, for an old release. Web version: https://legacy.fullcalendar.io/v3/resources-json-feed
>
> Latest version (v7): https://fullcalendar.io/docs/resources-json-feed.md

Premium feature.

Tells the calendar to fetch the resource list from a remote script.<!--more--> The value can be a string url:

```js
$('#calendar').fullCalendar({
  resources: '/my-resource-script.php'
});
```

The value can also be an object with a `url` field and other options accepted by jQuery's [ajax method](https://api.jquery.com/jquery.ajax/):

```js
$('#calendar').fullCalendar({
  resources: {
    url: '/my-resource-script.php',
    type: 'POST'
  }
});
```

The remote script must return a JSON array of [Resource Object](https://legacy.fullcalendar.io/v3/resource-object.md)s.

If [refetchResourcesOnNavigate](https://legacy.fullcalendar.io/v3/refetchResourcesOnNavigate.md) is set to `true`, the network request will be made with additional parameters: the start/end date of the newly visible window of time, as well as the calendar's timezone:

```js
$('#calendar').fullCalendar({
  refetchResourcesOnNavigate: true,
  resources: '/my-resource-script.php'
  // example request: /my-resource-script.php?start=2017-12-01&end=2017-01-12&timezone=UTC
});
```

The parameters are similar to the [event JSON feed](https://legacy.fullcalendar.io/v3/events-function.md)'s parameters.

This `refetchResourcesOnNavigate` behavior is present in v1.5.1 and later.
