Page Event Summary

Source: Internet
Author: User

pageload Event Usage: When this page needs to jump to other external pages, you can use the Pageload event on this page, you cannot use the Pageload event on the target page , for example, when the a.html page jumps to b.html, you can use $ ( Document). On (' Pageload ', FN), the DOM element of page B can be manipulated in the Pageload event handler fn of page A. Of course a page can also be used for other events, such as Pageinit,pageshow

The target page can use the Pagecreate,pageinit,pageshow event, which can only manipulate the DOM on this page. Selectors that bind these events are best used with the ID of this page, such as $ ("#page_id") instead of $ (document),

Page Event Summary

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.