2
Talk, you guys, all in peace?
I was looking for a solution on the Internet, but I didn’t find what I needed, nor did I understand a way to do it, if anyone can shed some light?
I would like to list the attributes of an element, using Jquery
, for example this input
:
<input type="text" name="input1" id="input1" class="class1">
And the way out would be:
object{
type: "text",
name: "input1",
id: "input1",
class: "class1"
}
@Augustovasques was exactly what I was looking for! Thank you so much!
– Wees Smith