<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1012677" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1012677</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/saveopen-file-locally#comment-1073330</link>
    <description> &lt;p&gt;Hi Voicebox,&lt;/p&gt;
&lt;p&gt;Cheers for giving it a go.&lt;/p&gt;
&lt;p&gt;This actually saves as a .txt file but includes the whole page not just the internal frame.  I&#039;m sure there&#039;s a way!&lt;/p&gt;
&lt;p&gt;Denise&lt;/p&gt;
 </description>
     <pubDate>Sat, 28 Oct 2000 14:54:38 +0000</pubDate>
 <dc:creator>Denise</dc:creator>
 <guid isPermaLink="false">comment 1073330 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/saveopen-file-locally#comment-1073327</link>
    <description> &lt;p&gt;This is as far as I got, but IE just gives me an error &quot;This web page could not be saved&quot;:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;HTML&amp;gt; &lt;br /&gt;&amp;lt;HEAD&amp;gt; &lt;br /&gt;&lt;br /&gt;&amp;amp;lt;script&amp;amp;gt; &lt;br /&gt;function saveAs(){ &lt;br /&gt;if (document.all) { &lt;br /&gt;var WebBrowser = &amp;#039;&amp;lt;OBJECT ID=&amp;quot;WebBrowser1&amp;quot; WIDTH=0 HEIGHT=0 CLASSID=&amp;quot;CLSID:8856F961-340A-11D0-A96B-00C04FD705A2&amp;quot;&amp;gt;&amp;lt;/OBJECT&amp;gt;&amp;#039;; &lt;br /&gt;document.ifr.document.write(WebBrowser);&lt;br /&gt;document.ifr.document.write(document.theform.texta.value);&lt;br /&gt;document.ifr.document.close();&lt;br /&gt;document.ifr.document.all.WebBrowser1.ExecWB(4, 1); &lt;br /&gt;//WebBrowser1.outerHTML = &amp;quot;&amp;quot;; &lt;br /&gt;} &lt;br /&gt;} &lt;br /&gt;&lt;br /&gt;&amp;amp;lt;/script&amp;amp;gt; &lt;br /&gt;&lt;br /&gt;&amp;lt;HEAD&amp;gt; &lt;br /&gt;&amp;lt;BODY&amp;gt; &lt;br /&gt;&amp;lt;iframe name=&amp;quot;ifr&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;/iframe&amp;gt;&lt;br /&gt;&amp;lt;FORM name=&amp;quot;theform&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;textarea name=&amp;quot;texta&amp;quot;&amp;gt;&amp;lt;/textarea&amp;gt;&lt;br /&gt;&amp;lt;INPUT type=&amp;quot;button&amp;quot; value=&amp;quot;Save this page&amp;quot; onclick=&amp;quot;saveAs(); return false&amp;quot;&amp;gt;&amp;lt;/FORM&amp;gt; &lt;br /&gt;&lt;br /&gt;&amp;lt;BR&amp;gt;Or&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt; &lt;br /&gt;&lt;br /&gt;&amp;lt;A href=&amp;quot;save-this-page.htm&amp;quot; onclick=&amp;quot;saveAs(); return false&amp;quot;&amp;gt; &lt;br /&gt;Save This Page&amp;lt;/A&amp;gt; &lt;br /&gt;&amp;lt;/FORM&amp;gt; &lt;br /&gt;&lt;br /&gt;&amp;lt;/BODY&amp;gt; &lt;br /&gt;&amp;lt;/HTML&amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
 </description>
     <pubDate>Sat, 28 Oct 2000 11:45:09 +0000</pubDate>
 <dc:creator>voicebox</dc:creator>
 <guid isPermaLink="false">comment 1073327 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/saveopen-file-locally#comment-1073324</link>
    <description> &lt;p&gt;Hi Hugh,&lt;/p&gt;
&lt;p&gt;Yeah, thanks, this is getting along the right lines.&lt;/p&gt;
&lt;p&gt;If it&#039;s possible to do this, is it somehow possible to:&lt;/p&gt;
&lt;p&gt;1) Save a specific &quot;textarea&quot; of a designated form, instead of the whole page? (ie: document.myform.mytextarea.value)&lt;/p&gt;
&lt;p&gt;2) Put the name I want the file to be saved as in the pop up window with the extension &quot;.txt&quot; instead of .htm/.html?(instead of Untitled1.htm by default) &lt;/p&gt;
&lt;p&gt;Yours hopefully,&lt;/p&gt;
&lt;p&gt;Denise &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Sat, 28 Oct 2000 01:52:47 +0000</pubDate>
 <dc:creator>Denise</dc:creator>
 <guid isPermaLink="false">comment 1073324 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/saveopen-file-locally#comment-1073323</link>
    <description> &lt;p&gt;Is this what you mean?&lt;/p&gt;
&lt;p&gt;&amp;lt;script&amp;gt;&lt;br /&gt;
function saveAs(){&lt;br /&gt;
if (document.all) {&lt;br /&gt;
var WebBrowser = &#039;&#039;;&lt;br /&gt;
document.body.insertAdjacentHTML(&#039;beforeEnd&#039;, WebBrowser);&lt;br /&gt;
WebBrowser1.ExecWB(4, 1);&lt;br /&gt;
//WebBrowser1.outerHTML = &quot;&quot;;&lt;br /&gt;
}&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;&amp;lt;/script&amp;gt;&lt;/p&gt;
&lt;p&gt;Or&lt;/p&gt;
&lt;p&gt;&lt;A href=&quot;save-this-page.htm&quot;&gt;&lt;br /&gt;
Save This Page&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Fri, 27 Oct 2000 23:34:13 +0000</pubDate>
 <dc:creator>Hugh Jass</dc:creator>
 <guid isPermaLink="false">comment 1073323 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/saveopen-file-locally#comment-1073322</link>
    <description> &lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for the feedback.  I will look into applets but what do you mean by &quot;sign&quot; an applet?&lt;/p&gt;
&lt;p&gt;Denise&lt;/p&gt;
 </description>
     <pubDate>Fri, 27 Oct 2000 23:08:07 +0000</pubDate>
 <dc:creator>Denise</dc:creator>
 <guid isPermaLink="false">comment 1073322 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/saveopen-file-locally#comment-1073321</link>
    <description> &lt;p&gt;Sorry, there is no such thing in JavaScript or any language which comes from a web server, because of security reasons. You may want to write and sign a Java applet which does this (see &lt;a href=&quot;http://developer.netscape.com/security/&quot; class=&quot;bb-url&quot;&gt;http://developer.netscape.com/security/&lt;/a&gt;), but there is no other way to do this through a web page.&lt;/p&gt;
 </description>
     <pubDate>Fri, 27 Oct 2000 22:53:23 +0000</pubDate>
 <dc:creator>voicebox</dc:creator>
 <guid isPermaLink="false">comment 1073321 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
