faqts : Computers : Programming : Languages : JavaScript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

11 of 66 people (17%) answered Yes
Recently 2 of 10 people (20%) answered Yes

Entry

Entirely javascript generated pages-what to do so that IE saves the generated page not the one that generated it

Apr 4th, 2008 19:37
ha mo, Henk-Johan van Rantwijk, Ramana Mokkapati, Harpo Veld, Peter Ned,


i don't think you can do exactly what you want but you can open the
javascript generated page without menubar and toolbar
mywin = window.open('','newwin','menubar=0,toolbar=0')
....
In this case the SaveAs command will be unavailable and the only way to
save generated page is to right click --> View Source --> save it - it
will be the generated code, not the source of the page that generated
the new window
-----
The above trick does NOT work!! Even after opening a window
with menu/tool bar disabled, we get to save the ORIGINAl code that
generated the HTML.
READ THIS:
Usage of <script></script> works for me!
Don't use something like:
<script language="JavaScript1.2" src="../javascript/jscript.js" type=
"text/javascript"></script>
http://www.businessian.com
http://www.computerstan.com
http://www.financestan.com
http://www.healthstan.com
http://www.internetstan.com
http://www.moneyenews.com
http://www.technologystan.com
http://www.zobab.com
http://www.healthinhealth.com