Use of JQ in IFRAME sub-frames

Source: Internet
Author: User
PHP iframe jq jquery js

There are 3 iframe, the index inside the load JQ, if the sub-frame of three-in-one to use JQ, you must also load the JQ file in the sub-frame, such as the following 2.php, does not add invalid
index.php







1.php

2.php



3.php


Reply to discussion (solution)

The frames page is already a full page, and of course the relevant parts are loaded separately

Must be reloaded, there is no way to load only in the main frame, the other sub-framework can be used, if the sub-frame has a lot of pages, it must not all loaded

Loading is a must! But the browser caches the static files, so the frames page actually loads the JS file from the buffer

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.