jq 显示前三个input 其余隐藏

2021-02-07  本文已影响0人  风度翩翩的程序猿
$(".input-block").filter(":lt("3")").show().end().filter(":gt("2")").hide();
上一篇 下一篇

猜你喜欢

热点阅读