[thelist] JavaScript function( )s

Fred Jones fredthejonester at gmail.com
Mon Aug 31 15:07:52 CDT 2009


> With JavaScript code kept in it's own .js file, what syntax does one use to call a function from an .html file?

don't exactly follow you, but if you mean that the function is defined
via inline JS in the HTML file AND the .js file is also included in
that HTML file, then you call it regularly:

myFunction()

b/c it's all one namespace. AFAIK.

If that's not it, then explain in more detail what you're asking.

F



More information about the thelist mailing list