Jump to content

JavaScript:Tutorial, Display MsgBox

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
16 replies to this topic

#1
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
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:-
<script language="JavaScript">
function loadalert () 
        {alert("Hello!")
}
</script>

And this body code:-

<body onLoad="loadalert()">
</body>

Explanation:-
I don't think this needs any explanations!

A Preview:-
Posted Image

Conclusion:-
As Always Feedback is welcome and the full source is attached!! ( although not so needed )

Attached Files



#2
sahar88

sahar88

    Newbie

  • Members
  • Pip
  • 5 posts
thanks a lot ..............

#3
amrosama

amrosama

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 8,674 posts
Nice tutorial ill +rep you

#4
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
Hehe, thanks :D

I'll be waiting

#5
Guest_Jordan_*

Guest_Jordan_*
  • Guests
Wow, this is an old one. Perhaps one of your first?

#6
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
I started with VB6... those are older than this.

#7
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
Why is this in the wrong forum? Not in Tutorials?
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#8
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
It's not in the wrong forum! It is in tutorials!

Software Development > Tutorials > Javascript

#9
Egz0N

Egz0N

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 4,034 posts
Nice One TcM .. :D

#10
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
Woah, sorry TcM. The URL says nothing about Tutorials, I assumed it was in the normal JS forum.
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#11
cb7_martyn

cb7_martyn

    Newbie

  • Members
  • Pip
  • 1 posts
Nice post=)

#12
cryptokyle

cryptokyle

    Newbie

  • Members
  • PipPip
  • 11 posts
thanks for the tutorial. clear and simple.:)