redho home | products | services

Programming Forums


Community for Java, PHP, Perl C, ASP and Python programmers

Ask your IT question here

interaction of functions from different files



 
Post new topic   Reply to topic    Programming Forums -> JavaScript forum
View previous topic :: View next topic  
Author Message
Ikopar
Enthusiastic Coder


Joined: 26 May 2006
Posts: 168
Can a function in a.js use a function in b.js if they're both loaded into an html file with <script src="{a,b}.js"></script> ?

Reply with quote
 
BigDaddy
Enthusiastic Coder


Joined: 26 May 2006
Posts: 147
Ikopar, sure
Reply with quote
 
Gladis
Enthusiastic Coder


Joined: 24 May 2006
Posts: 107
If the script using the previous script comes later, yes.
Reply with quote
 
Ikopar
Enthusiastic Coder


Joined: 26 May 2006
Posts: 168
Not weird that it works, but weird that I'm seeing what I'm seeing. Thanks for the info :)
Reply with quote
 
Page 1 of 1
Post new topic   Reply to topic    Programming Forums -> JavaScript forum


Dubai Forums - Expat Help | Vegan Chat | Java Programming | Free 3D tutorials and 3d textures | Paris Forum | EU Forum
Free Dubai Classifieds | Free London Classifieds | Jobs in London

High Quality, Custom 3d animation and Web Design solutions Royal Quality Web Hosting Services Vegetarian and Animal Rights news

Powered by phpBB © 2001, 2005 phpBB Group