How do i get properties of an element.