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?



from Newest questions tagged laravel-5 - Stack Overflow http://bit.ly/2RMMJi1
via IFTTT

Aucun commentaire:

Enregistrer un commentaire