Update .htc (HTML Components) custom attributes for js since IE10 standard mode does not support htc.
:
var Method_Behavior = {
get: function () {
return this.style.behavior
},
set: function (val) {
this.style.behavior = val
}
}
if (!HTMLInputElement.prototype.hasOwnProperty("Behavior")) {
Object.defineProperty(HTMLInputElement.prototype, "Behavior", Method_Behavior);
}
Html
<script src="new_js_file_name" type="text/javascript"></script>
<script type="text/javascript">
function loaded() {
document.getElementById("Id_Name").Behavior = "new_behavior";
}
</script>