1

I wrote the following code with jQuery:

$("#bar").nextAll(".foo").each(function(index){
    console.log($(this))
})

And I'd like to transpose it to Nokogiri.

I read the documentation for Nokogiri - jQuery but I cannot find how to write an equivalent of the nextAll() method.

Any idea?

enkrates
  • 626
  • 1
  • 6
  • 17
Rowandish
  • 2,655
  • 3
  • 31
  • 52

0 Answers0