aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "javascript" Watch "javascript" New topic
Author

javascript

ben oliver
Ranch Hand

Joined: Mar 28, 2006
Posts: 375
test.html:

<script>

function abc() {

}

function xyz() {...}

// put some action type javascript code that calls some other function in another javascript file, line 1
</script>

// some html code line 2

question ---- will line 1 be executed before it displays the html content in line 2 ?

Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Use code tags when you post code. Please use the button and edit your post.

I think the easy answer is did you test it out and what happened?

Eric
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60986
    
  65

Please be sure to take the time to compose descriptive subjects for your posts; read this for more information.

Using a title of "javascript" in a forum completely dedicated to questions on JavaScript isn't very helpful.

Please go back and change your post to add a more meaningful subject by clicking the


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javascript