JQueryEasyUI tutorial-EasyLoader (simple loading)

Source: Internet
Author: User
The previous article introduced the jQueryEasyUI tutorial-Parser (Parser). After learning about jQuery-Parser (Parser), I learned about EasyLoader (simple loader. The previous article introduced the jQuery EasyUI tutorial-Parser (Parser). After learning about jQuery-Parser (Parser), the next step is EasyLoader (simple loader).

Usage:

1. Load the EasyUI Module

Easyloader. base = '.. /'; // set the easyui basic directory easyloader. load ('messager ', function () {// load the specified module $. messager. alert ('title', 'Load OK ');})

2. Load the script from the absolute path

using(‘http://code.jquery.com/jquery-1.4.4.min.js’, function(){// …});

3. Load scripts from relative paths

// The Script path is relative to the easyui directory using ('./myscript. js', function (){//...});

The next step is the EasyLoader attributes, events, and methods.

Attribute:

Pre-defined region:

Bg // California ca // Canadian cs // Czech cz // Czech (Czech Republic) da // Danish de // German en // english es // Spanish fr // French nl // Dutch tr // Turkish zh_CN // Simplified Chinese zh_TW // traditional Chinese

Event:

The above is the content of the jQuery EasyUI tutorial-EasyLoader (simple loading). For more information, see PHP Chinese Network (www.php1.cn )!

Related Article

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.