Problems frequently encountered in jQuery EasyUI (FAQ): jqueryeasyui

Source: Internet
Author: User

Problems frequently encountered in jQuery EasyUI (FAQ): jqueryeasyui

1. Unable to introduce other external js files on the easyui pop-up page

In the easyui pop-up dialog box for jsp and html pages, easyui only displays the content inside <body> </body> of these pages, and other content is lost, if your js references are placed in

2. validatebox does not take effect

If you encounter this problem, check if your controls (such as <input> and <select>) do not have the name attribute. easyui uses this attribute internally, therefore, add this attribute if not.


Not complete...


Problems with jquery easyui

First, you can obtain the data in the foreground. For example, if the value is status,
Implementation Method when the value is added to the Data box
If (status = 1 ){
Status = value;
} Else if (status = 2 ){
Status = false;
} Else {
Status = error;
}

Or you can directly convert it after it is put into jquery in the background.

Jquery easyui cannot be used in jsp, or even affect normal use of jquery.

Replace jquery. min. js with jquery 1.4.2.

$ (Document). ready (function (){
Alert ("hah ");
});
Then write
$ (Function (){
Alert ("haha ");
});
Try it. I guess it's a compatibility issue.

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.