File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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


ben oliver
Ranch Hand

Joined: Mar 28, 2006
Posts: 375


function abc() {


function xyz() {...}

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

// some html code line 2

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

Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
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?

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63532

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] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: javascript
It's not a secret anymore!