QueryCollection.getAttribute method

0 out of 1 rated this helpful - Rate this topic

Gets an attribute value from the first element in the collection.

Syntax


var object = queryCollection.getAttribute(name);

Parameters

name

Type: string

The name of the attribute.

Return value

Type: Object

The value of the attribute.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

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.