SelectBetween

码农软件 · 软件分类 · 其他jQuery插件 · 2020-01-15 15:44:16

软件介绍

A simple extension that allows you to select elements between and including two indexes.
I've also included except, which will get all elements except for the ones specified in the range provided.

Current version is 1.0

Example usage:
This will get the rows 1 and 2, and color the elements between 2, 3, 4 and 5 and elements 10, 11, 12 and 13
$("table tr:between(1,2)").find("td:between(2,5), td:between(10,13)").css("background-color", "red");

The following will color all rows except 1 and 2 and all elements less than 2 and greater than 5.
$("tr:except(1,2)").find("td:except(2,5)").css("background-color", "green");

The plugin will automatically get the lowest value of the params passed.
So if you use :between(50, 8) it will get 8 to 50.

Note: Indexes are an interesting animal! They change based on the first selector. It might take a little time to understand indexes with jquery if you haven't dealt with them before.

本文地址:https://www.codercto.com/soft/d/23443.html

第二次机器革命

第二次机器革命

[美]埃里克·布莱恩约弗森 / 蒋永军 / 中信出版社 / 2014-9 / 59.80

“一本非常鼓舞人心的书!”——托马斯•L•弗里德曼 《世界是平的》作者 一场革命开始了! 在《第二次机器革命》这本书中,埃里克•布莱恩约弗森和安德鲁•麦卡菲——这两位处于数字技术时代最前沿的思想家,向我们阐述了驱动我们经济和生活的发生变革的力量。他们认为,数字技术将会给我们带来难以想象的巨大变革:想象一下令人眩目的个人数字技术产品、一流的基础设施,都将会给我们带来极大的便利。数字技术(......一起来看看 《第二次机器革命》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试