473,507 Members | 2,430 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to pass data to another frame

1 New Member
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
0 1060

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

Similar topics

1
7097
by: Mikko Tussunen | last post by:
I wonder, what would be the best way to write content to another frame? Meaning that as many browsers as possible supports it. I have a frame that reloads with a 3 second interval, and depending...
3
7031
by: Robert | last post by:
Hi, I'm trying to make a slide show, with two frames: on the left frame small thumbnails, and on the right frame the big sized image. Of course when the user clicks on a thumbnail in the left...
0
1185
by: Søren M. Olesen | last post by:
How do I manipulate a control in one frame from another frame ?? I've tried something like: Class1 TextBox.Text="Text1" Session("TextBox")=TextBox1 Class2
1
1848
by: Bilbo | last post by:
Hello, How do I programatically redirect a page in "another frame" using C# in ASP.NET? Server.Transfer redirects the current page...not a different frame. Thanks.
3
2451
by: qwerty | last post by:
I´m new to ASP.Net. My workmate has some experience with it. He claimed that in ASP.Net working with frames is much simpler than it was ASP. I asked explanation but he couldn't give me such. (a...
3
1956
by: Microsoft | last post by:
How do I refer to the content of one frame from another frame. Depending on which command button is pressed in one frame I wish to chnage what is displayed in another frame. Thanks Colin
1
2365
by: Just D. | last post by:
All, How can we redirect to another frame from the C# code? I usually use Response.Redirect("TargetPage.aspx") to redirect inside the current frame, but I don't know really how can I change the...
11
16890
by: Rob | last post by:
I know, I know, don't use frames. Well, I'm stuck with these frames and I'm trying to add functionality without a complete redsign. You can look at this as a nostalgic journey. Anyway, I've got...
1
1928
by: sayid | last post by:
Hello, I have a problem when altering a DIV-element from another frame. The frameset looks like this: <frameset rows=0,0,* border=0> <frame name=header src=/header.htm scrolling=no...
2
1800
by: Corwin Moyne | last post by:
I have been given some already complete classes by my lecturer and the idea is that I build a GUI. The project is based on an Employee class. Among other things, I would like to add a new Employee...
0
7111
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7319
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7031
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7485
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5623
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
760
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
412
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.