The namedItem() method returns the element with the specified ID or name.
Alert innerHTML of P