Javascript is compiled in the order it appears and then the top level
code runs. That's it.

So if inline comes first, its first; if included file comes first it
is first.

By 'order' I mean in time, not space. So if you add a script tag
inline or not later, that code overrides any definitions that match
from earlier code.

If you don't want js files in the header from loading, comment them
out.

jjb

On Feb 23, 8:53 am, alex <[email protected]> wrote:
> this may seem confusing and i will be willing to clarify but this is
> my question.
>
> I want to try debugging javascript on one of my webpages and compare
> it to another page that i am trying to get some inspiration from.  I
> would like to debug the javascript in my browser instead of having to
> continuously go through ftp and overwrite files.
>
> so i want to edit javascript in a page, i already know how do to this
> with javascript embedded in the html as this is easy you just click on
> it.
>
> but what about editing external javascript files? and how they
> interact with the page
>
> if there are linked external javascript files in a page, and then
> there is javascript code embedded in the actual page. does one take
> presedence over the other or is an error created?
>
> can you override the linked javascript somehow, maybe by changing the
> links to a different page?  because it loads when the page loads even
> if you changed the urls to reference different .js files how would you
> get the page to read the external files with the new link.
>
> is there a way to keep linked .js files in the header from loading?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to