When I am trying to disable an input range on my page dynamically, all other input elements on my page stop working in chrome.
Here when I disable #mySlider, #chkBox and #myButton becomes inaccessible and does not trigger respective functions, even can't able to check the checkbox.
My chrome version: 31.0.1650.63 m
HTML
<input type="range" min="0" max="5" value="0" id="mySlider" onChange="checkMove(this)" />
<input type="checkbox" value="one" id="chkBox" ><br/>
<input type="button" id="myButton" value="Click Me" onClick="clickCheck();" />
SCRIPT
function checkMove(elem) {
var minVal = elem.value;
if (minVal == 2) {
elem.disabled = true;
}
}
function clickCheck() {
alert("hi")
}