Click to See Complete Forum and Search --> : im stupid and nead help
kordiak
04-17-2003, 06:02 PM
ok im just starting on java script (first time ever)
Im having some problems
i cant get java script to work
some one wana give me some basic thing to try out?
thx a bunch all
khalidali63
04-17-2003, 06:06 PM
put the following code in your html page
<script type="text/javascript">
var greetings = "Hello JavaScript! here I come."
alert(greetings)
</script>
:D
DrDaMour
04-17-2003, 06:45 PM
hookable events are things that will take place when something happens to an object. You can think of an object as just about any html tag.
some common hoodable events are:
onmouseover
onmouseout
onclick
they can be put in an html tag like so
<img src="blah.gif" onmouseover="alert('im on')" onmouseout="alert('im out')" onclick="alert("CLICK")">
then do those events with your mouse.
notice these things don't have to be withing <script> tags