Why isn't the JavaScript code for showMap() running? How can this issue be resolved?
<html>
<title></title>
<script>
function showMap()
{
alert("rong");
}
function thaydoi()
{
document.getElementById("txtHint").value =" anh yeu em";
}
</script>
</head>
<body style="height: 437px; width: 663px" onload="chance()">
<input type="text" id="txtHint" value="" onchange="showMap()" >
<input type="button" onclick="thaydoi()">
</body>
</html>