+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: JavaScript:Tutorial, Display MsgBox

  1. #1
    Join Date
    Aug 2006
    Posts
    11,209
    Blog Entries
    6
    Rep Power
    101

    JavaScript:Tutorial, Display MsgBox

    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 )
    Attached Files Attached Files
    Last edited by TcM; 12-02-2006 at 10:53 AM.

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    sahar88 is offline Newbie
    Join Date
    Feb 2007
    Posts
    5
    Rep Power
    0
    thanks a lot ..............

  4. #3
    Join Date
    Aug 2007
    Location
    Gizeh, Al Jizah, Egypt, Egypt
    Posts
    8,675
    Blog Entries
    12
    Rep Power
    81

    Re: JavaScript:Tutorial, Display MsgBox

    Nice tutorial ill +rep you

  5. #4
    Join Date
    Aug 2006
    Posts
    11,209
    Blog Entries
    6
    Rep Power
    101

    Re: JavaScript:Tutorial, Display MsgBox

    Hehe, thanks

    I'll be waiting

  6. #5
    Jordan Guest

    Re: JavaScript:Tutorial, Display MsgBox

    Wow, this is an old one. Perhaps one of your first?

  7. #6
    Join Date
    Aug 2006
    Posts
    11,209
    Blog Entries
    6
    Rep Power
    101

    Re: JavaScript:Tutorial, Display MsgBox

    I started with VB6... those are older than this.

  8. #7
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,174
    Blog Entries
    13
    Rep Power
    114

    Re: JavaScript:Tutorial, Display MsgBox

    Why is this in the wrong forum? Not in Tutorials?

    Quote Originally Posted by Jordan View Post
    Good members, like yourself, stick around and post for ages to come!
    Mr. Xav | Blog | Forums

  9. #8
    Join Date
    Aug 2006
    Posts
    11,209
    Blog Entries
    6
    Rep Power
    101

    Re: JavaScript:Tutorial, Display MsgBox

    It's not in the wrong forum! It is in tutorials!

    Software Development > Tutorials > Javascript

  10. #9
    Join Date
    Sep 2008
    Location
    Kosovo
    Posts
    4,032
    Rep Power
    44

    Re: JavaScript:Tutorial, Display MsgBox

    Nice One TcM ..

  11. #10
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,174
    Blog Entries
    13
    Rep Power
    114

    Re: JavaScript:Tutorial, Display MsgBox

    Woah, sorry TcM. The URL says nothing about Tutorials, I assumed it was in the normal JS forum.

    Quote Originally Posted by Jordan View Post
    Good members, like yourself, stick around and post for ages to come!
    Mr. Xav | Blog | Forums

+ Reply to Thread
Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. MASM display a number in msgbox
    By 7marco08 in forum Assembly
    Replies: 8
    Last Post: 08-14-2011, 01:45 PM
  2. MASM display a number in msgbox
    By 7marco08 in forum Assembly Tutorials
    Replies: 8
    Last Post: 08-14-2011, 01:45 PM
  3. Replies: 1
    Last Post: 07-21-2010, 06:48 AM
  4. VB 6.0: Tutorial, Using the MsgBox
    By TcM in forum Visual Basic Tutorials
    Replies: 11
    Last Post: 05-15-2009, 04:48 AM
  5. Randomize image display - JavaScript help
    By egon in forum JavaScript and CSS
    Replies: 1
    Last Post: 10-09-2006, 07:13 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts