"eq"是什么意思?在jquery .eq()方法代表什么? [英] What does "eq" in the jquery .eq() method stand for?

查看:735
本文介绍了"eq"是什么意思?在jquery .eq()方法代表什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

示例:

$("td:eq(2)").css("color", "red"); or
$('td').eq(2).css("color", "red");

我想知道缩写"eq"代表什么,我不是在问.eq()方法的作用,该方法可以在

I want to know what the abbreviation "eq" stands for, I am not asking what the .eq() method does, which can be found here.

关于这个问题的重要性:当我知道某些缩写真正代表什么时,我自己发现学习一种语言更容易.而且有时我还会使用真实"字词大声阅读"我的书面代码.

Regarding the importance of the question: I myself find it easier to learn a language, when I know what certain abbreviations really stand for. And I also sometimes "read" my written code aloud using "real" words.

推荐答案

我一直认为.eq()是等于"的缩写. 很多(也许 具有 equi-前缀,源于拉丁语中的等于".

I have always assumed that .eq() is short for "equals." Many (perhaps even most) common English-language words that start with "eq" have the equi- prefix, rooted in the Latin word for "equals."

这篇关于"eq"是什么意思?在jquery .eq()方法代表什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆