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://codercto.com/soft/d/23443.html

如何不在网上虚度人生

如何不在网上虚度人生

[美] 肯尼思·戈德史密斯 / 刘畅 / 北京联合出版公司 / 2017-9 / 39.80元

我们平时上网多大程度上是浪费时间,多大程度是在学习、关心社会、激发创造力?我们真能彻底断网,逃离社交网络吗? 手机把都市人变成一群电子僵尸,是福是祸? 浏览记录就是我们将来的回忆录吗?文件归档属于一种现代民间艺术? 不自拍、P图、发朋友圈,我还是我吗? 美国知名概念艺术家戈德史密斯认为:上网绝不是浪费时间,而是一种创造性的活动。在本书中他以跨学科角度、散文式语言进行论证,涉及大众传播学、计算......一起来看看 《如何不在网上虚度人生》 这本书的介绍吧!

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具