scrollerContent jQuery

The View mobile scroller container DOM element. Recommended if scrollable mobile View contents need to be manipulated or replaced. If you don't know if the View has a Scroller initialized, please use the contentElement method instead.

Replace scrollable View contents

<div data-role="view" data-init="replaceContents"> Old content</div>

function replaceContents(e) {
  e.view.scrollerContent.html("<b>New content</b>");

In this article