Easyui popup called external JS function hint "Microsoft JScript Runtime Error: Missing object"

Source: Internet
Author: User

I met a very strange question yesterday.

I used Easyui to make a website, which has a page and a B page, I through the Easyui window function, a page popped a B page, in the B page, I used an external JS function C, I in the B page I also quoted this JS file, But every time the JS code goes to function C, it is prompt "Microsoft JScript runtime Error: Missing object", clearly quoted JS, why do you also hint that there is no object? Really damn, the results of a long time after the toss, I suddenly found that the original Easyui pop-up box is actually a div,b page is the equivalent of a div embedded in the b page, so .... So you must reference the external JS file in the A page!

Is such a simple question, stuck me for 2 hours ... It's so tangled.

Easyui popup called external JS function hint "Microsoft JScript Runtime Error: Missing object"

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.