A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java Interview Guide
this week in the
Calling a mtd of a js file from another js file
Joined: Jan 27, 2005
Dec 14, 2006 06:29:00
I have mtd1(
script mtd) in js1(its a .js file) and I have mtd2(java script mtd) in js2(its a .js file). Now my problem is how can i invoke mtd1 from mtd2.
Thanks in advance
Joined: Nov 08, 2001
Dec 14, 2006 08:15:00
As long as they are bot included on the page and the file you are calling is loaded before you call it, it should be just like it is in the same file.
[ December 14, 2006: Message edited by: Eric Pascarello ]
I agree. Here's the link:
subject: Calling a mtd of a js file from another js file
Java Script-I'm not possible to refer the external .js
Regarding Java Script
Doubt in final method
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015