Print the contents of a .js file stored on web server

Discussion in 'Javascript' started by Angus, Apr 17, 2007.

  1. Angus

    Angus Guest

    Hello

    I want to be able to see the javascript code in a javascript file on
    the web server. Eg where you get <script src="../../../../resources/
    javascript/ClientCore.js" defer=1></script>

    How can I print the contents of those files to eg a DIV section?

    Angus
     
    Angus, Apr 17, 2007
    #1
    1. Advertising

  2. Angus

    Angus Guest

    On 17 Apr, 13:34, Randy Webb <> wrote:
    > Angus said the following on 4/17/2007 6:09 AM:
    >
    > > Hello

    >
    > > I want to be able to see the javascript code in a javascript file on
    > > the web server. Eg where you get <script src="../../../../resources/
    > > javascript/ClientCore.js" defer=1></script>

    >
    > > How can I print the contents of those files to eg a DIV section?

    >
    > How many times are you going to ask this same question?
    >
    > --
    > Randy
    > Chance Favors The Prepared Mind
    > comp.lang.javascript FAQ -http://jibbering.com/faq/index.html
    > Javascript Best Practices -http://www.JavascriptToolbox.com/bestpractices/


    A slightly different question this time .

    My next mission is to parse out the text in the javascript.

    Angus
     
    Angus, Apr 17, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. loudking
    Replies:
    9
    Views:
    473
    Keith Thompson
    May 1, 2007
  2. keto
    Replies:
    0
    Views:
    1,044
  3. David Cournapeau

    print a vs print '%s' % a vs print '%f' a

    David Cournapeau, Dec 30, 2008, in forum: Python
    Replies:
    0
    Views:
    400
    David Cournapeau
    Dec 30, 2008
  4. Kamarulnizam Rahim
    Replies:
    4
    Views:
    247
    Robert Klemme
    Jan 28, 2011
  5. Mriganka
    Replies:
    1
    Views:
    128
    kaeli
    May 21, 2004
Loading...

Share This Page