Windows Dev Center

SearchBox.element property

Applies to Windows only

[SearchBox is no longer available for use as of Windows 10. Instead, use AutoSuggestBox. ]

Gets the DOM element that hosts the SearchBox.

Syntax


var element = searchBox.element;

Property value

Type: HTMLElement

The DOM element that hosts the SearchBox.

Requirements

Minimum supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

WinJS.UI

Library

Ui.js

See also

SearchBox

 

 

Show:
© 2015 Microsoft