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 646995
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T21:40:27+00:00 2026-05-13T21:40:27+00:00

Information: I have a site that has a design on index.php, and then you

  • 0

Information:

I have a site that has a design on index.php, and then you browse other pages(video.php, news.php) inside a frame on index.php.

What i want to do:

After a action(inserted to mysql.query) has happend inside the frame(video.php), i want to show a #box that is on index.php. How should i do this? And is it possible to do like echo 1; in video.php, then make a script that “if i get 1, then display #box on index.php” ? How should i do it..

I am using jquery too, for your records…

Short:
When you inserted a comment to the database it echo 1; (or tells the script to show #box) on index.php, which is a div that show a message like stackoverflow at the top.

  • 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-05-13T21:40:27+00:00Added an answer on May 13, 2026 at 9:40 pm

    Your “iframe” pages can contain scripts that reference other Javascript code stored in the parent window. So if you had a page that shows up in the frame, it can display a message by doing something like this:

    <script>
      window.parent.showMessage("Video not found");
    </script>
    

    In the outer (parent) page, the code to show the messages would look like ordinary jQuery code. Thus your “showMessage” routine might look like:

    function showMessage(msg) {
      $('#msgBox').text(msg).show();
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a login setup on a site that stores login information in PHP's
I have a one page site that has PHP code in it. Once the
I have a site that has to crawl different sites to aggregate information. When
I have an old .net 2005 web site that has some asp pages and
I have a Django site that takes in sensitive information. I use https/SSL, so
I'm working on a site that has quite a few pages that fall outside
I have web site set up that has some forms authentication through LDAP. I'm
I have a new Joomla (2.5) site that has been developed on a different
We have a hosted site that has a CMS we built running on a
I have issue with url rewrite. I have a site example.com that has a

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.