La propiedad onchange
establece y devuelve el event handler para el evento change
.
Sintaxis
element.onchange = handlerFunction; var handlerFunction = element.onchange;
handlerFunction
debería ser null o una Función de javascript espeficiando el manejador para el evento.
Notas
Mir el la págna Manejadores de eventos DOM para más información sobre cómo trabajar con los manejadore on
.
Mira la documentación para el evento change
.
Especificaciones
Especificación | Estatus | Comentario |
---|---|---|
HTML Living Standard La definición de 'onchange' en esta especificación. |
Living Standard |
Compatibilidad de navegadores
We're converting our compatibility data into a machine-readable JSON format.
This compatibility table still uses the old format,
because we haven't yet converted the data it contains.
Find out how you can help!
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Soporte báico | (Yes) | ? | ? | ? | ? |
Feature | Android | Android Webview | Chrome for Android | Firefox Mobile (Gecko) | Firefox OS | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|---|---|
Soporte básico | ? | ? | ? | ? | ? | ? | ? | ? |