You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
<!DOCTYPE html>
|
|
<html>
|
|
<head></head>
|
|
<body>
|
|
<form>
|
|
<label for="username">Username</label>
|
|
<input id="username" type="text" />
|
|
<input type="submit" value="Submit" />
|
|
</form>
|
|
<script type="text/javascript">
|
|
var x = document.forms[0].length;
|
|
document.write(x);
|
|
</script>
|
|
</body>
|
|
</html>
|