Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 12th, 2009, 01:32 AM
Authorized User
Join Date: Feb 2006
Location: jaipur, rajasthan, India.
Posts: 67
Thanks: 7
Thanked 0 Times in 0 Posts
Send a message via Yahoo to beetle_jaipur
Default problem calling between frames


i have one page which has two frames. my page structure is :

test.asp is main file which has two frameset:
a. top frame
b. main frame.

topframe shows one header file where clock is ticking
mainframe shows questions.

header.asp includes a script file names script.js
my last page which shows is review.asp

problem : i have written this code for autoclose of test, here x is time value
if(x == 0)
window.parent.mainFrame.location.href = "review.asp";

function endTest()
window.top.mainFrame.document.finalSubmit.hiddenAn swers.value = window.top.getConclude();
window.top.mainFrame.document.finalSubmit.hiddenMa rksheet.value = window.top.prepareMarkSheet();
window.top.mainFrame.document.finalSubmit.submit() ;

my review.asp page contains: form named : finalSubmit, here is the code

<form action="Conclude.asp" method="post" name="finalSubmit">
<input name="hiddenAnswers" type="hidden" value="" />
<input name="hiddenMarksheet" type="hidden" value="" />
<input name="btnSubmit" type="submit" value="submit form" style="visibility:hidden" />

but when i see error in ErrorConsole in Mozilla firefox. it says..

window.top.mainFrame.document.finalSubmit is undefined

i am new to javascript, please help me out..

thanks for your consideration .

best regards
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with the Frames guys ??? Riderman BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 0 September 12th, 2007 10:06 AM
Problem with navigation in frames wish147 Dreamweaver (all versions) 0 August 30th, 2006 09:53 AM
Nested Frames problem in Netscape 7 mridangsreedhar Javascript How-To 0 May 19th, 2006 06:17 AM
Hard frames problem johnjohn Classic ASP Basics 1 November 30th, 2004 06:09 PM
Hard frames problem johnjohn Classic ASP Databases 0 November 30th, 2004 10:38 AM

All times are GMT -4. The time now is 09:16 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.