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:
-
- How to set the default table width of layui
- How to set the default table width of layui: first open the corresponding code file; then modify the code to "td{min-width: 150px;max-width: 200px;}".
- Layui Tutorial 7619 2023-01-13 00:40:15
-
- How to get the value of a certain row of table in layui
- The method for layui to obtain the value of a certain row of the table: first open the corresponding code file; then use the "table.checkStatus('ID')" method to obtain the value of a certain row of the table.
- Layui Tutorial 10702 2023-01-13 00:40:15
-
- What should I do if the select box of layui does not come out?
- The select box of layui does not appear because Layui will hide the original elements such as select, checkbox, radio and so on. The solution is to load the form and execute an instance.
- Layui Tutorial 4367 2023-01-13 00:40:11
-
- How to set the bootstrap input box to be read-only
- How to set the read-only input box of bootstrap: first open the corresponding code file; then set the readonly attribute for the input box, with statements such as "placeholder="Readonly input here..." readonly".
- Layui Tutorial 3275 2023-01-13 00:40:11
-
- How to get the select value in layui
- The method for layui to obtain the select value: first open the corresponding template code file; then reference the layui plug-in; and finally obtain the value of the drop-down box through the "var batch=$("#batch").val();" method.
- Layui Tutorial 9101 2023-01-13 00:40:10
-
- How to use the tips layer of layui
- How to use the tips layer of layui: first introduce the file layer.css and layer.js files; then use the code format "layer.tips(msg, '#id', {tips: 1}, time: 10000)"; finally Just set the relevant parameters.
- Layui Tutorial 4229 2020-12-04 10:59:43
-
- How to use layui to upload images
- How to use layui to upload images: first open the html file and reference layui.css and layui.js; then call the front-end html code and set the id value; finally pass "upload.render({...})" This method allows you to upload images.
- Layui Tutorial 4867 2020-12-04 09:54:12
-
- How to declare global variables in layui.js
- How to declare global variables in layui.js: First open the parent page and child page codes; then declare global variables by cutting the value of the link in the child page, with statements such as "var $proId = theRequest.projectId;".
- Layui Tutorial 5112 2020-12-04 09:45:48
-
- What is the url of layui data table?
- The layui data table URL is a data interface used to receive data. The LayUI data table URL defaults to a Get request, and the statement format is such as "URL:'sypaysrhlist.aspx?action=...'".
- Layui Tutorial 2973 2020-12-04 09:31:00
-
- How to modify the color of the popup layer button in layui
- The method for modifying the pop-up layer button color in layui: first open the corresponding code file; then set the pop-up layer button style in the page "<style>" tag; and finally define the pop-up layer's "layer.open()" method in the skin parameter. You can modify the popup layer button color by calling css style.
- Layui Tutorial 4501 2020-12-04 09:26:46
-
- Layui method to modify the value of select
- How to modify the select value in layui: first add the code "<input id="ddd" style="display: none;" value="{$sex}" />" in html5 to get the initial value; then set it in js The value of select and radio button can be used.
- Layui Tutorial 5079 2020-12-04 09:13:55
-
- How to hide table rows in layui
- How to hide table rows in layui: first open the corresponding code file; then use the hide attribute of layui's cols parameter; finally add "hide: true" to hide the id column.
- Layui Tutorial 4810 2020-12-04 09:07:01
-
- Comparison of usage differences between different versions of layui
- Get the Form module interface, which is changed from the previous var form = layui.form() to: var form = layui.form.
- Layui Tutorial 2627 2020-12-02 15:05:34
-
- How to bind common event listeners in layui
- This article shares with you the method of binding ordinary event monitoring in layui. It has certain reference value and I hope it can help everyone.
- Layui Tutorial 2699 2020-11-26 15:37:34
-
- Layui implements a method to dynamically disable select drop-down
- layui: This article shares with you the method of dynamically disabling select drop-down in layui. It has certain reference value and I hope it can help you.
- Layui Tutorial 3675 2020-11-25 16:09:37