Introduction:-
Well I'm trying to start a whole set of JavaScript tutorials and this is the first one.. simple and short!
Solution:-
Just make this code in the
<head> tags:-
Code:
<script language="JavaScript">
function loadalert ()
{alert("Hello!")
}
</script>
And this body code:-
Code:
<body onLoad="loadalert()">
</body>
Explanation:-
I don't think this needs any explanations!
A Preview:-
Conclusion:-
As Always Feedback is welcome and the full source is attached!! ( although not so needed )