HTML CSS Javascript jQuery AJAX PHP Java MORE

How to success message in Javascript

<!DOCTYPE html>
<html>
<body>
	<h1>Demo: alert()</h1>
	<button onclick="myFunction()">Try it</button>

	<script>
    function myFunction() {

		 alert("Button clicked successfully !");  
         alert(true);
         
    }

    </script>
</body>
</html>


Run it yourself


Warning: mysqli_connect(): (HY000/1040): Too many connections in /www/wwwroot/studentstutorial.com/demo/conn/conn.php on line 15
Could not Connect My Sql:Too many connections