PayPal interview question

How many types or ways of selecting an element with JavaScript

Interview Answer

Anonymous

8 June 2012

Following are the ways I know: document.getElementsByName(); document.getElementById(); document.elements; document.formName.elementName