Clicking on the blank content area below will make a call to the Yahoo! Trip Planner Web service. It does by calling a local REST service that calls the trip planner service and bundles up the results as HTML. FetchHtml will call a given URL using Ajax and take the resulting HTML and stuff it inside the selected target (in this case '#content-target').
In this example, we use a relative URL. FetchHtml currently only supports URLs from the same domain (an Ajax restriction).
You can click here to restart the example.
Click Me! Data will load here...
For a full description of this behavior see the FetchHtml Documentation Page.