Results 1 to 2 of 2

Thread: call js from js??

  1. #1

    Thread Starter
    PowerPoster i00's Avatar
    Join Date
    Mar 2002
    Location
    1/2 way accross the galaxy.. and then some
    Posts
    2,390

    call js from js??

    I want to call a js file from another js file (it needs to be called form another js file as the path will change)

    How can i do something like this with java script (the given way does not work):


    function open(path){
    document.write('<script language="Javascript" src="'+path+'\review.js"></script>')
    }



    Thanks
    Kris

  2. #2
    Member
    Join Date
    Apr 2001
    Location
    Hamilton, ON, Canada
    Posts
    43
    this is not the javascript forum

    this belongs here http://209.120.143.185/forumdisplay.php?forumid=11

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width