通过匹配绑定select option的文本值 模糊匹配
2016-03-21 20:39
477 查看
//通过匹配绑定select option的文本值 模糊匹配
$(".class option:contains('文本值')").attr("selected", true);
$(".class option:contains('文本值')").attr("selected", true);
相关文章推荐
- Apache使用localhost可以访问但使用本机IP(局域网)不能访问
- scoped _ptr的模拟实现与解析
- Nginx反向代理配置
- Linux管道的实现机制
- Linux基础(三)
- 利用Apache commons pool2构建池应用
- linux idea14 maven 部署 tomcat. 遇到的问题
- linux screen 的基本使用
- error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
- CentOS下安装JDK1.7
- Shell常用命令整理
- OpenCV中的内存泄露问题(cvLoadImage,cvCloneImage)
- Shell 命令--文件创建、搜索命令--总结自《Linux Shell 脚本攻略》
- linux ps 命令
- linux chmod命令
- 查找maven包,下载jar包。maven依赖关系的网站
- Adobe illustrator & Photoshop 处理图片
- 在windows下搭建linux-c学习环境
- 在windows下搭建linux-c学习环境
- C Program to Implement a Doubly Linked List & provide Insertion, Deletion & Display Operations