To upload a file in layui, cancel the layui-upload-file format and hide its input box.

clipboard.png

clipboard.png
this input box is automatically generated

ask urgently!

Php
Jul.25,2021

set input to transparent and move it to the icon


owner, this input is generated by layui to actually transmit, the easiest and most rude way is to hide it.
$(".layui-upload-file"). Hide ();


use css style to remove, code is presented

.layui-upload-file {

    display: none !important;
    opacity: .01;
    filter: Alpha(opacity=1);
}
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eaa0e6-1fa2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eaa0e6-1fa2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?