Example of the jquery Easyui Getting Started

Source: Internet
Author: User

The first step is to introduce the desired style and JS file

<link rel= "stylesheet" type= "Text/css" href= "easyui/themes/default/easyui.css" ><link rel= "stylesheet" type = "Text/css" href= "easyui/themes/icon.css" ><script type= "Text/javascript" src= "Easyui/jquery.min.js" >< /script><script type= "Text/javascript" src= "Easyui/jquery.easyui.min.js" ></script>

The second step is to write the message prompt box


Function Description:

$.messager.alert

Title, MSG, icon, fn

displays a prompt window. Parameters:
Title:the caption text that appears in the head panel.
Msg:the message text that is displayed.
Icon:displays a picture of the icon. The available values are:Error,question,Info,Warning.
FN:The callback function that is triggered when the window is closed.


$ (). Ready (function () {//Set message Messager $.messager.alert (' caption ', ' Hello Word ', ' Error ', function () {alert (' Back-off function '); });});

Step Three

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/56/A0/wKioL1SJyRHhxn9zAABgWdInXDg132.jpg "title=" Qq20141212003806.jpg "alt=" Wkiol1sjyrhhxn9zaabgwdinxdg132.jpg "/>

This article is from the "Lao Niu Java" blog, please be sure to keep this source http://liuyj.blog.51cto.com/2340749/1588968

Example of the jquery Easyui Getting Started

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.