Callback function for requesting a document target.

Syntax

function(<DocumentTarget> result)