JavaScript Teaser
- You can put client side javascript into your html document.
- JavaScript is not Java but it is Turing complete.
- You put javascript into an html document inside a script tag.
- < script type="text/javascript" >
- document.write("< p >" + Date() + "< /p >");
- < /script >
- Note this works in IE but if you're reading it in some other browsers
the > < are the right and left angle brackets that normally
mark an html tag.
-
- I've used
http://www.w3schools.com/js/js_howto.asp
- We did a bit in last week's lab,
- and we'll do more in this week's lab
on this.