By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,963 Members | 941 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,963 IT Pros & Developers. It's quick & easy.

how to pass data to another frame

P: 1
I have 3 frames in one web page
here is the left.html
Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>Untitled Document</title>
  6. </head>
  7.  
  8. <body>
  9. <p><a href="file:///C:/Users/test/data.html" title="Schmidt Reg" accesskey="a" target="mainFrame">show data</a></p>
  10. </body>
  11. </html>
after doing "data.html" the result will be shown at mainframe.(pass or fail)

Now I'm trying to write a log into a txt file, how do I catch the result? and how to save it?
I tried
Expand|Select|Wrap|Line Numbers
  1. var fso = new ActiveXObject("Scripting.FileSystemObject");
  2. var s = fso.OpenTextFile("C:\\test.txt", true);
but it didn't work

This site will only use on local side.
Mar 7 '14 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.