1.

< body>< form name="register"> Enter username < input value="John" id="name" name="username">< /form>< /body>4.Consider the below code:Identify the correct code in order to fetch the value entered in username text field?

A. document.login.uname.value
B. document.getElementById ("p_name").value
C. document.getElementByName ("name").value
D. Both A and B
Answer» E.


Discussion

No Comment Found