Asp. NET in the use of back-end code registration script to generate Jquery-easyui interface dislocation solution _jquery

Source: Internet
Author: User

As shown in figure:

The right border of the above picture is missing, debugging with the Web development tool and discovering that the inner container is too large. Then thought of is jquery-easyui to the interface "render" incorrect cause.

It was originally thought to be caused by the addition of repetitive code, but it was always removed:

In view of the interface "rendering" before and after the relationship, and then try to delay the execution of code fragments, problem solving.
original problem script:

Copy Code code as follows:

<script type= "Text/javascript" >
if (Window.__yltlclientscriptregistkey = = Undefined | |
Window.__yltlclientscriptregistkey!= ' Somekey ') {
Window.__yltlclientscriptregistkey = ' Somekey ';
$.messager.alert (' info ', ' hoo ', ' info ');
}
</script>


Script generated after processing:

Copy Code code as follows:

<script type= "Text/javascript" >
if (Window.__yltlclientscriptregistkey = = Undefined | |
Window.__yltlclientscriptregistkey!= ' Somekey ') {
Window.__yltlclientscriptregistkey = ' Somekey ';
SetTimeout (' alertwarning to me ~ ~ ') ', 100;
}
</script>


A thought, laughed out.

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.