There is a difference between IE10 and other browsers with disabled attribute in tag.
<!DOCTYPE html>
<html>
<head>
<title> Img Tag </title>
</head>
<body>
<script type="text/javascript">
function abc() {
alert("Hi");
}
</script>
<img style="width: 50px; height: 50px;" onload="abc()" onclick="abc()" src="./testimg.png" disabled />
</body>
</html>
IE10 is respecting disabled property and both onload & onclick not firing. If I remove disabled attribute, it is firing both the events.
But, Chrome is not not respecting the disabled property. I mean, it is firing both the events, irrespective of disabled attribute.
My question is, Can I use disabled property in tag? if yes, What is the correct behavior, IE10 or Chrome? is it a bug in cherome?