0

I need plugin that returns me the string passed to jquery call, a thing like that:

$.fn.string = function() {
    var path = this.get()
    console.log(path)
}

$('.section.active .myItem').string()

// the output I need: '.section.active .myItem'

// current output: an array containing many properties

0 Answers0