html label-标签
来源:互联网 发布:jdbc连接数据库5个步骤 编辑:程序博客网 时间:2024/05/16 17:55
input
/** * input label * http://www.w3school.com.cn/tags/tag_input.asp */function testInputLabel(){ debugger; var inputLabel = document.getElementById("inputElm"); console.log(inputLabel.value);}select
<div> <select id="deviceSel" title="列表" class="select-label-style0"> <option value="v01">s01</option> <option value="v02">s02</option> <option value="v03">s03</option> </select></div>var deviceSel = document.getElementById("deviceSel");/** * selcet label * http://www.w3school.com.cn/tags/tag_input.asp */function testSelectLabel() { debugger; console.log(deviceSel.selectedIndex);// index console.log(deviceSel.value);// value console.log(deviceSel.childNodes[1].innerText);// s03}
阅读全文
0 0
- html中的label标签
- HTML label 标签
- HTML <label> 标签
- HTML Label标签
- HTML的label标签
- HTML <label> 标签
- html 之<label>标签
- html <label>标签
- HTML中的<label>标签
- html-label标签
- HTML中label标签
- html标签label元素
- HTML label标签介绍
- HTML-label标签
- Html中的label标签
- html label-标签
- HTML <label> 标签
- HTML <label> 标签
- 【数据结构】3.栈与队列
- EditText内容格式化控件 XEditText 和 输入内容过滤器
- 01背包问题
- 二叉树的非递归遍历
- 图像分割—基于图的图像分割(Graph-BasedImageSegmentation)
- html label-标签
- 仿照DatePickerFragment实现的TimePickerFragment
- LeetCode 144: Binary Tree Preorder Traversal 解题与思考
- Qt的传统安装方法
- 【数据结构】4.串
- 动态规划系列---求数组中两个元素差的最大值
- ZigBee规范各层原语及其功能概述
- hadoop(ha)+hbase
- LeetCode 94: Binary Tree Inorder Traversal 解题与思考