Welcome aboard! We are happy you are here and wish you good net-raft!
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="Script.js"></script>
</head>
<body>
<p>Hello world !</p>
<script>
$(document).ready(function () {
var a = $("p").text();
var temp = new Array();
temp = a.split(" ");
var y;
for (y = 0; y < temp.length; y++) {
alert(temp[y]);
}
});
</script>
</body>
</html>
The most helpful JAVASCRIPT solutions