QueryCollection.id method

This topic has not yet been rated - Rate this topic

Looks up an element by ID and wraps the result in a QueryCollection.

Syntax


var queryCollection = queryCollection.id(id);

Parameters

id

Type: String

The ID of the element.

Return value

Type: QueryCollection

A QueryCollection that contains the element, if it is found.

Requirements

Namespace

WinJS.Utilities

Library

Base.js

See also

QueryCollection

 

 

Build date: 12/5/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.