onupgradeneeded property

Defines a function handler for the upgradeneeded event, which executes when a database is opened with a new version number.

This property is read/write.

Internet Explorer 10

Syntax

JavaScript
object.onupgradeneeded = ptr
ptr = object.onupgradeneeded

Property values

Type: Function

A reference to the function that handles the event.

Standards information

See also

IDBOpenDBRequest

 

 

Show:
© 2014 Microsoft. All rights reserved.