Test case for jQuery Ticket 8040

change event in IE for text input

by jitter

HTML

<input name="str1" id="str1" value="str1" onchange="toUpper();changeTest()">

JavaScript

function toUpper() {
    document.getElementById("str1").value =
        document.getElementById("str1").value.toUpperCase();
}

function changeTest() {
    var d = document.createElement("div");
    d.innerHTML = "changeTest";
    document.body.appendChild( d );
}