web hosting and development forums
Web Design and Development Forums Archive


Index - JavaScript forum

interaction of functions from different files


Post reply

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> ?
Ikopar, sure
If the script using the previous script comes later, yes.
Not weird that it works, but weird that I'm seeing what I'm seeing. Thanks for the info :)




Dubai Forum | Paris Forum | Webmaster Forum | Vegan Forum | Brisbane Forum | 3D Forum | Jobs in Dubai | Jobs in London | London UK Classifieds
Archive script by RedHo.com