我的问题分为两部分。只是我一直在想的事情。
1)使用:
$('img[alt]').get(-1); // ignore the .getvs
$('img').attr('alt').get(-1); // ignore the .get第一个选项是访问图像的alt属性的有效方法吗?还是只有第二个有效?
2)在.get请求中将数字(负数或非负数)作为参数甚至有效吗?我确定这不是但我想确定..。谢谢!
发布于 2015-11-24 01:02:49
https://stackoverflow.com/questions/33883677
复制相似问题