Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8357767
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T10:35:19+00:00 2026-06-09T10:35:19+00:00

Customer has page with navigation that detects when changes were made in a grid

  • 0

Customer has page with navigation that detects when changes were made in a grid of data, and reminds the user to save their data before they leave the page. If the user becomes confused about what they are doing or suspects they have made a lot of data entry errors, they may also just cancel their changes and start over.

The customer has a login system in which they place these pages, via iframes. The login system is to have a new sub menu to navigate these pages (call them into the iframe), replacing the on-page navigation on the child pages themselves.

The grids on these pages sets a flag, to indicated data in at least one grid cell was changed. On page navigation has no trouble checking the flags and reminding the user that they have unsaved data in one of the grids.

How would the menu from the parent page check to see if these flags were set by the grids on the child pages? The flags are currently in an array, with the number of the grid as the index.

Most cells do this, or call another function that calls this function

--------------------------------------------------------
. . . onchange='make_input_changed(grid_NM)' . . .

-------------------------------------------------------

// up to 6 grids on page in this example.
var input_changed = new Array('false', 'false', 'false', 'false', 'false', 'false');

// for each grid, set a flag indicating that data on the current grid page has changed
function make_input_changed(grid_NM) { input_changed[grid_NM] = true; } 


-----------------------------------------------------

Can the parent access the child flags ?

**Can the child call a parent function to keep track of changes ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T10:35:22+00:00Added an answer on June 9, 2026 at 10:35 am

    A frame is just a ‘special’ window.

    You can use window.top or window.parent to navigate around the hierarchy of windows and frames. As long as your frames are in the same domain, you should be OK.

    You can access variables in another frame:

    parent.Frame2.varInFrame2 = 100;
    

    … and you can invoke functions in another frame:

    parent.Frame2.notifyLogin(id)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a way to re-acquire the inapp purchases a customer has already made
I'm building an application that is used by several different customers. Each customer has
Our customer has a requirement to extend the functionality of their existing large government
Problem: Customer X has requested that pages using XML DataBinding and Databound tables in
Our app (before authentication) has Customers and Widgets. As you'd expect each customer has
A customer has asked that we do a dynamic whois lookup on the homepage
A customer has a designer mockup of a form button that shows a right
We have a page that creates a printable version of the customer's bill. We
I have a like/send button that I've set up on a customer's home page.
I'm creating a website page which has to different forms, depending on user input

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.