I'm trying to get each element of my dynamically created form, and when I try to get it val or html it returns undefined
$('.articulo-row').each(_ => {
$this = $(this)
var a = $this.html()
console.log(a)
})
.articulo-row
should get all the <tr>
rows that the user created.
This code gives me this error Cannot read property 'createDocumentFragment' of undefined
I know that this error, it's because my object it's undefined. But if I print $(this)
it returns a jQuery Object