当前位置:网站首页>By default, the select drop-down box selects the solution ligerui that the selected attribute does not work
By default, the select drop-down box selects the solution ligerui that the selected attribute does not work
2022-07-24 16:01:00 【ZHZHK001】
select The drop-down box is selected by default selected Property does not work
browser —360 browser
System —win10
frame —ligerui
The original code :
<td align="left" class="l-table-edit-td">
<select name="DEP_CAT" id="DEP_CAT">
<option value="" selected="selected">- Query all -</option>
<option value="0"> personal </option>
<option value="1"> company </option>
</select>
</td>
After changing the code , Remove value="" , that will do , Unknown cause
<td align="left" class="l-table-edit-td">
<select name="DEP_CAT" id="DEP_CAT">
<option selected="selected">- Query all -</option>
<option value="0"> personal </option>
<option value="1"> company </option>
</select>
</td>
But after the change , The data obtained in the background ,value Not empty , It is “ Query all ”, It needs to be dealt with
边栏推荐
- 微调LayoutLM v3进行票据数据的处理和内容识别
- Class assignment (6) - 575. Word division (word)
- Which is a good noise reduction Bluetooth headset? Ranking of the most cost-effective noise reduction Bluetooth headsets
- Fast RCNN trains its own data set
- 图像label处理——json文件转化为png文件
- Who is the "roll" king of the prefabricated vegetable track?
- Lsyncd set up synchronous image - use lsyncd to realize real-time synchronization between local and remote servers
- 【AdaptiveAvgPool3d】pytorch教程
- Four common post submission methods (application / x-www-form-urlencoded, multipart / form data, application / JSON, text / XML)
- IP protocol - network segment division
猜你喜欢

Dynamics crm: how to set the order of forms

Arduino IDE ESP32固件安装和升级教程
![[adaptiveavgpool3d] pytorch tutorial](/img/d0/60ee74ff554effa06084d5d01a03e1.png)
[adaptiveavgpool3d] pytorch tutorial

机器学习笔记 - 构建推荐系统(5) 前馈神经网络用于协同过滤

Dynamics 365: how to get the threshold value of executemullerequest in batch requests

【SWT】滚动容器实现商品列表样式

Windows10安装免安装版redis

自适应设计和响应式设计

287 finding duplicates

Machine learning notes - building a recommendation system (5) feedforward neural network for collaborative filtering
随机推荐
Dynamics 365: explain virtual entity from 0 to 1
【SWT】自定义数据表格
【ACWing】909. 下棋游戏
微调LayoutLM v3进行票据数据的处理和内容识别
Memorythrashing: Tiktok live broadcast to solve memory dithering practice
MySQL write lock does not take effect
SQL row to column, column to row
【LeetCode】Day102-螺旋矩阵 II
Dynamics crm: how to set the order of forms
mysql源码分析——索引的数据结构
AttributeError: module ‘seaborn‘ has no attribute ‘histplot‘
Scala functions and their higher-order applications
yolov6训练自己的数据集
未来数据库需要关心的硬核创新
Do you understand the working principle of gyroscope?
Kubernetes版本对接对象存储
Error in anyjson setup command: use_ 2to3 is invalid.
G026-db-gs-ins-03 openeuler deployment opengauss (1 active and 2 standby or multiple standby)
[SWT] user defined data table
图像label处理——json文件转化为png文件