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 )!