Modify document source

Discussion in 'Javascript' started by dsrobinson@gmail.com, Nov 21, 2005.

  1. Guest

    Does anybody know if it is possible to use javascript to modify the
    document source so that it is viewable in a browser by clicking
    'view->source'.

    Thanks!
     
    , Nov 21, 2005
    #1
    1. Advertising

  2. Spats30 Guest

    No it can't. Otherwise it wouldn't be interpretted at the time of
    rendering by the browser. This is called client-side programming.

    If you want to truly change the source code, you must do this
    server-side with language like PHP, ASP, etc...

    Good luck!
     
    Spats30, Nov 21, 2005
    #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. Mads Orbesen Troest
    Replies:
    2
    Views:
    814
    Mads Orbesen Troest
    Apr 20, 2004
  2. Replies:
    4
    Views:
    660
    Barry Andrews
    May 6, 2005
  3. Konrad Billewicz

    How to modify jar w/o source?

    Konrad Billewicz, Oct 27, 2006, in forum: Java
    Replies:
    1
    Views:
    382
    Manish Pandit
    Oct 27, 2006
  4. c++ newbie

    modify this c++ source code

    c++ newbie, Dec 5, 2005, in forum: C++
    Replies:
    4
    Views:
    374
    Kevin Handy
    Dec 5, 2005
  5. gsal
    Replies:
    1
    Views:
    919
    Mike Driscoll
    Jan 15, 2008
Loading...

Share This Page