WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #35832, comment 6


Ignore:
Timestamp:
02/21/2016 11:42:11 PM (4 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35832, comment 6

    initial v1  
    1 Yes, would be good to standardize these events. According to caniuse.com `input` works quite well except in IE8. If support there is crucial we can fall back to using `change`. Perhaps something like:
     1Yes, would be great to standardize these events. According to caniuse.com `input` works quite well except in IE8. If support there is crucial we can fall back to using `change`. Perhaps something like:
    22{{{
    33var event = ( 'oninput' in document ) ? 'input' : 'change';