jeudi 24 janvier 2019

Basic JavaScript code is not working in blade file

<html>
<head>
<script>
  document.getElementById("demo").innerHTML = "STUDENT DATA";
</script>
</head>
<body>
  <h1>STUDENT</h1>
  <p id="demo"></p>
</body>
</html>

Normal HTML is working but JavaScript is not. What could be the issue?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire