当前位置:网站首页>微信小程序 input隐藏和不可操作的设置
微信小程序 input隐藏和不可操作的设置
2022-04-23 14:02:00 【1029179954】
1、input隐藏
hidden=“true” input在前端就隐藏起来了 看不到了
<input name='url' hidden="true" maxlength="255" placeholder="{
{placeholder}}"/>
2、input不可操作
disabled=“true” 此文本框就不可以修改不可操作
<input id='name' disabled="true" name="uname" placeholder='请输入您的称呼' placeholder-class='name'></input>
版权声明
本文为[1029179954]所创,转载请带上原文链接,感谢
https://blog.csdn.net/baidu_38978508/article/details/124345342
边栏推荐
猜你喜欢

Quartus Prime硬件实验开发(DE2-115板)实验二功能可调综合计时器设计

cnpm的诡异bug

STM32 learning record 0007 - new project (based on register version)

As a junior college student, I studied hard in closed doors for 56 days, won Ali offer with tears, five rounds of interviews and six hours of soul torture

Express②(路由)

基础知识学习记录

编程旅行之函数

Taobao released the baby prompt "your consumer protection deposit is insufficient, and the expiration protection has been started"

redis如何解决缓存雪崩、缓存击穿和缓存穿透问题

smart-doc + torna生成接口文档
随机推荐
Port occupied 1
CentOS mysql多实例部署
收藏博客贴
JMeter pressure test tool
[code analysis (3)] communication efficient learning of deep networks from decentralized data
Quartus Prime硬件实验开发(DE2-115板)实验一CPU指令运算器设计
Un modèle universel pour la construction d'un modèle d'apprentissage scikit
关于stream流,浅记一下------
金蝶云星空API调用实践
蓝绿发布、滚动发布、灰度发布,有什么区别?
Android interview theme collection
1256:献给阿尔吉侬的花束
MySQL 修改主数据库
Program compilation and debugging learning record
程序编译调试学习记录
freeCodeCamp----time_ Calculator exercise
腾讯根据ip解析地址
对List集合进行分页
项目中遇到的问题(五)操作Excel接口Poi的理解
Pytorch 经典卷积神经网络 LeNet