Hi,
I have found an issue in Internet Explorer 10 on Windows 7,8 and RT.
The issue <textarea></textarea> tags are calling the "input" event when the browser is setting the placeholder on load. This does not happen with <input /> tags.
I have setup this jsFiddle, to demonstrate.
http://jsfiddle.net/CubedEye/DnNLH/7/
I thought it might have something to do with the <textarea> with the placeholder being first, so I made this jsFiddle with it as the second element
http://jsfiddle.net/CubedEye/DnNLH/8/
I have just tested this in IE11 Developer Preview and it's still an issue.
My understanding of the "input" event from here:
http://www.w3.org/TR/html51/iana.html#events-0
Is that the event should ONLY fire when the user changes the value.
Cheers,
Steve
I have found an issue in Internet Explorer 10 on Windows 7,8 and RT.
The issue <textarea></textarea> tags are calling the "input" event when the browser is setting the placeholder on load. This does not happen with <input /> tags.
I have setup this jsFiddle, to demonstrate.
http://jsfiddle.net/CubedEye/DnNLH/7/
I thought it might have something to do with the <textarea> with the placeholder being first, so I made this jsFiddle with it as the second element
http://jsfiddle.net/CubedEye/DnNLH/8/
I have just tested this in IE11 Developer Preview and it's still an issue.
My understanding of the "input" event from here:
http://www.w3.org/TR/html51/iana.html#events-0
Is that the event should ONLY fire when the user changes the value.
Cheers,
Steve