How to get an array by hide () of jquery

if only

$(".product_list)[p]

is available, but not with hide ()

$(".product_list)[p].hide()

is how to write this, p is the variable

Mar.28,2021

what you get is a dom object, not a jquery object, and a dom object is a
$($('.product _ list) [p]). Hide ()
or
$(' .product _ list) [p] .style.display = 'none'


$('.product_list').eq(p).hide()
where there is no hide method.
Menu