MCQOPTIONS
Saved Bookmarks
| 1. |
Consider the below code:Identify the correct code in order to fetch the value entered in username text field? |
| A. | document.register.name.value |
| B. | document.getElementById ("name").value |
| C. | document.getElementByName ("name").value |
| D. | None of the above |
| Answer» C. document.getElementByName ("name").value | |