How to call function in one js file from other js file


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: How to call function in one js file from other js file

  1. #1
    Join Date
    Nov 2008
    Posts
    13

    How to call function in one js file from other js file

    Hi All,

    Is it possible to call the function in one js file from another js file without loading the second js file?
    Example

    one.js file is having Call() function;
    This Call() function i want to invoke from two.js file.

    I don't want to load becuase i am getting the value from Call().If i load the one.js file the variable will be reset.

    Can any one guide me in this regard.Correct me if i am wrong.

    Thanks in advance
    Charr

  2. #2
    Join Date
    Nov 2008
    Posts
    13
    Hi All,

    Is it possible to declare application scope variable in javascript?If yes pls provide me some example/link.

  3. #3
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,666
    Quote Originally Posted by charr View Post
    Is it possible to declare application scope variable in javascript?If yes pls provide me some example/link.
    This should help.
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

Similar Threads

  1. Passing a file name(s) to a function
    By AAE817 in forum VB Classic
    Replies: 2
    Last Post: 04-16-2007, 01:49 AM
  2. Packed Data(Comp-3, etc)
    By Marcos in forum VB Classic
    Replies: 3
    Last Post: 01-25-2006, 12:18 PM
  3. File uploading / objFile.Write problem
    By Tomer Cagan in forum ASP.NET
    Replies: 1
    Last Post: 07-24-2001, 10:01 AM
  4. Replies: 0
    Last Post: 06-19-2001, 03:04 PM
  5. NullPointerException when reading text file
    By Andrew McLellan in forum Java
    Replies: 3
    Last Post: 05-09-2001, 06:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center