defunkt/jquery-pjax — Issue #107: feature request: options.fragmentMap
Author: staabm
Created: 2012-03-09 19:38:01+00:00
State: open

would be nice if we could provide a map of fragments.

This would help to update several areas of the page with only one ajax request,e.g.

```
$.pjax({
...
url: '/authors',
fragmentMap: {
'#selectorToSearchInAJAXContent' : '#containerToInsertThisElement',
'#selectorToSearchAnotherElement' : '#anotherPartOfThePage'
}
})
```

what do you think... is it worth creating a PR?