Quantcast
Viewing all articles
Browse latest Browse all 3527

Javscript issue in IE 11.447.14393.0

Hi,

We have a web application , and when tried to run it IE  11.447.14393.0 version, many of the Javascript related functionalities like Action listeners are not working.

Below is the sample code, where I want to print hello world on button click

<!DOCTYPE html>
<html>
<body>

<h1>The onclick Event</h1>

<p>The onclick event is used to trigger a function when an element is clicked on.</p>

<p>Click the button to trigger a function that will output "Hello World" in a p element with id="demo".</p>

<button onclick="myFunction()">Click me</button>

<p id="demo"></p>

<script>
function myFunction() {
  document.getElementById("demo").innerHTML = "Hello World";
}
</script>

</body>
</html>

But on button click, i am unable to see any action on the browser.

NOTE: OS being used is windows server 2016


Viewing all articles
Browse latest Browse all 3527

Trending Articles