PayPal Interview Question

How many types or ways of selecting an element with JavaScript

Interview Answer

Anonymous

Jun 8, 2012

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