Yahoo! Developer Network Home - Help

YDN Site Search

# YUI Library Examples: Get Utility

# Get Utility: Examples

The Get Utility provides a convenient API for appending script nodes and CSS files to an existing DOM. This can be useful when loading functionality on-demand; it's also useful when retrieving JSON data feeds across trusted but non-identical domains.

- Getting a Script Node with JSON Data: This example illustrates the simple use case in which the Get Utility is used to retrieve JSON data from a web service.
- Getting CSS Style Sheets: Attach and remove stylesheets using the Get Utility.

## Other YUI Examples That Make Use of the Get Utility

- Complex Application (included with examples for the Layout Manager (beta))

### Get Utility:

- User's Guide (external)
- API Documentation
- Cheat Sheet PDF(external)

Copyright © 2008 Yahoo! Inc. All rights reserved.

Privacy Policy - Terms of Service - Copyright Policy - Job Openings