A volte google è più efficiente http://www.w3schools.com/jsref/met_d...entsbyname.asp