current location:Home>Technical Articles>Web Front-end>Layui Tutorial
- Direction:
- All web3.0 Backend Development Web Front-end Database Operation and Maintenance Development Tools PHP Framework Daily Programming WeChat Applet Common Problem Other Tech CMS Tutorial Java System Tutorial Computer Tutorials Hardware Tutorial Mobile Tutorial Software Tutorial Mobile Game Tutorial
- Classify:
-
- What are the main functions of layui?
- 1. Paging function: The layui framework is used for paging. In fact, layui paging is very simple. You only need to pass in a total number of pages to use this function well. What is passed in is the number of pages, not the number of database queries. || 2. layui time and day function. || 3. Pop-up box function: use the layer.open method.
- Layui Tutorial 3722 2019-07-11 13:11:28
-
- How to set checkbox in layui
- The first step is to introduce layui's js script file and css style file. ||The second step is to write the checkbox, add a title value, and the control should be placed in the form form with layui-form style. ||The third step is to introduce the form component and then call the render method.
- Layui Tutorial 6038 2019-07-11 11:56:20
-
- How to clear layui table
- The first step is to listen to the checkbox event and enter the code. ||The second step is to get the content of the selected row in the table and the unique value required for deletion, usually the id. ||The third step is to add the items to be deleted to the array. ||The fourth step is to determine whether it is selected and send an ajax request with the parameter id.
- Layui Tutorial 11572 2019-07-11 11:13:36
-
- What is the difference between layui and easyui
- The difference: layui is open source, the community is relatively active, and problems can be solved relatively quickly, while easyui is non-open source. Easyui was born earlier, so its functions are relatively complete, and many functions are relatively complete. Layui has relatively few, but the functions are all carefully crafted. layui is more in line with the current aesthetic.
- Layui Tutorial 15251 2019-07-11 10:54:09
-
- How to display data on popup layer in layui
- If there is a problem with the scope of the variable. The rs above cannot be passed to the func11() method, so there is something wrong with the parameters passed. You can add a parameter to the func11() function and add the id parameter to the click event.
- Layui Tutorial 4913 2019-07-11 10:38:30
-
- How to set checkbox in layui
- Method 1: Set LAY_CHECKED to true in the returned json, and the checkbox on the page will be selected. Method 2: If there is no LAY_CHECKED in the returned data, you can modify the js.
- Layui Tutorial 13304 2019-07-11 10:27:34
-
- How to get the file name in layui's file upload function
- First, open the software on our computer, create a new HTML page, and add the css, js files and jquery.js files of the layui plug-in. Then first introduce layui.css, layui.js, jquery-1.9.0, etc. into the newly created index1.html file.
- Layui Tutorial 10947 2019-07-11 10:17:09
-
- How to use layui's paging
- The first step is to introduce the script files and style files corresponding to lay. ||The second step is to create an empty div in Html to generate a paging component and provide an id for this div. ||The third step is to generate a laypage paging component instance object in the js script code. ||The fourth step is to call the render method to render.
- Layui Tutorial 7633 2019-07-11 09:45:16