interaction of functions from different files
|
| View previous topic :: View next topic |
| Author |
Message |
Ikopar
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> ? |
| |
|
|
|
|
BigDaddy
Joined: 26 May 2006 Posts: 147
|
| Ikopar, sure |
| |
|
|
Gladis
Joined: 24 May 2006 Posts: 108
|
| If the script using the previous script comes later, yes. |
| |
|
|
Ikopar
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 :) |
| |
|
|
|
|