Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Modify document source

Reply
Thread Tools

Modify document source

 
 
dsrobinson@gmail.com
Guest
Posts: n/a
 
      11-21-2005
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!

 
Reply With Quote
 
 
 
 
Spats30
Guest
Posts: n/a
 
      11-21-2005
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!

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Open existing Word document, modify and save. gsal Python 1 01-15-2008 06:51 PM
How to modify jar w/o source? Konrad Billewicz Java 1 10-27-2006 05:56 PM
modify this c++ source code c++ newbie C++ 4 12-05-2005 07:23 PM
Is it possible to modify a source node using XSLT? titanandrews@hotmail.com XML 4 05-06-2005 03:34 AM
Namespace declaration from source document appears in target document. Mads Orbesen Troest XML 2 04-20-2004 05:32 PM



Advertisments