Element:hover E:hover { sRules } 设置元素在其鼠标悬停时的样式 Element:focus E:focus { sRules } 设置对象在成为输入焦点(该对象的onfocus事件发生)时的样式,webkit内核浏览器会默认给:focus状态的元素加上outline的 ...
分类:
Web程序 时间:
2018-12-26 20:01:55
阅读次数:
207
{ checkbox: true, formatter: function (value, row, index) { if(row.ISTOPIC 1){ return { disabled : false, } }else{ return { disabled : true, } } retur ...
分类:
其他好文 时间:
2018-12-26 11:47:58
阅读次数:
411
AngularJS实现根据不同条件显示不同控件 由于项目需求,需要实现根据不同条件显示不同控件的功能。具体要求如下图所示: 即当选择“每单固定减”时,下方只显示“减免金额”一栏; 当选择“每单固定折扣”时,下方只显示“折扣比例”一栏; 当选择“每单满额减”时,下方只显示“满..减..”两栏。 根据自 ...
分类:
Web程序 时间:
2018-12-25 12:25:32
阅读次数:
205
像select checkbox radio这样的不赋值就为null form:input类的标签 没赋值传递到后台的是null,不如form:select等 普通的html标签可能不是,还需要再验证 ...
分类:
Web程序 时间:
2018-12-23 23:51:22
阅读次数:
236
angularjs实现页面跳转并进行参数传递 注:请点击此处进行充电! Angular页面传参有多种办法,我在此列举4种最常见的: 1. 基于ui-router的页面跳转传参 (1) 在AngularJS的app.js中用ui-router定义路由,比如现在有两个页面,一个页面(producers. ...
分类:
Web程序 时间:
2018-12-23 11:20:45
阅读次数:
197
一、等待 1.is_display:hidden属性,元素隐藏 2.is_selected:bool = element.is_selected() radio单选框 checkbox多选框 3.选中所有选项: els = driver.find_elements_by... for i in el ...
分类:
其他好文 时间:
2018-12-22 11:47:24
阅读次数:
142
作用 专门用来收集用户信息的 input标签 type属性 text 明文输入框 password 暗文输入框 radio 单选框 注意单选框默认不会互斥的,如果需要互斥,则需要互斥的所有单选框都添加name属性,而且必须一样 如果需要默认选中一个单选框,则需要给这个单选框添加一个checked属性 ...
分类:
Web程序 时间:
2018-12-21 21:11:06
阅读次数:
234
主要是使用了angular的指令。 学习地址: 1.http://www.runoob.com/angularjs/angularjs-tutorial.html 效果: 输入数据剩余字数会相应减少,点击保存弹出已保存提示信息,点击清空输入数据为空。 <!DOCTYPE html> <html la ...
分类:
其他好文 时间:
2018-12-21 16:54:16
阅读次数:
248
form表单 form 中method get获取属性 post 正常只能提交到自己的服务器 input text文本 input password 多用于密码格式 input checkbox 复选框 input number 用于选择数字 input button 按钮 input reset ...
分类:
其他好文 时间:
2018-12-21 13:26:42
阅读次数:
190
<div class="layui-form"> <table class="layui-table" id="tableuser"> <colgroup> <col width="80"> <col width="100"> <col width="60"> </colgroup> <thead> ...
分类:
其他好文 时间:
2018-12-21 13:20:05
阅读次数:
196