Saving contents of a frame through another frame

i have a html page which contains 2 frames. How can i save the contents of frame2 as a html file using a button click in frame1?
June 26,
u cant save the file in client using javascript, however to get content of html its simple:
function showMeFrame2() {
<input type='button' name='b1' id='b1' value='Show FM2 Content' onClick='showMeFrame2()'>
<iframe id='fm2' name='fm2' src='another_file.html'></iframe>
// another_file.html
<h1>HELLO WORLD!</hi>
Paulo Cesar Silva Reis (PC from Brazil)
June 27,

This topic is archived.

See also:

Back to support forum