Results 1 to 3 of 3

Thread: (Javascript) Calling a function from a function then returning

  1. #1

    Thread Starter
    Frenzied Member msimmons's Avatar
    Join Date
    Jul 2001
    Location
    Houston, TX
    Posts
    1,057

    (Javascript) Calling a function from a function then returning

    I know this will be an easy one but i am not familiar w/javascript... I am in a for loop and i need to call another function, to that function then comback and run my loop some more. Is it like return or something?
    thanks in advance (time is of the essense, i can go home after this last function )
    michael
    I'm off to GalahTech, hope to see you there.

    If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.

  2. #2
    Lively Member
    Join Date
    Feb 2002
    Posts
    69
    function First()
    {
    alert(Second());
    }

    function Second()
    {
    return "Blah!";
    }

    Something like that?

  3. #3

    Thread Starter
    Frenzied Member msimmons's Avatar
    Join Date
    Jul 2001
    Location
    Houston, TX
    Posts
    1,057
    Thats what I needed
    Thanks!
    Michael
    I'm off to GalahTech, hope to see you there.

    If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.

Posting Permissions

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



Click Here to Expand Forum to Full Width