August 1999
Intermediate to advanced
1488 pages
72h 53m
English
hidden.name
The name property of the Hidden object is used get the name for the Hidden object. This is the HTML NAME attribute for the Hidden object.
Listing 7.290 shows an example of how the name property is used. The form object is used to access the name property.
<html>
<head>
<title> Using the name property of the Hidden object</title>
</head>
<body>
< form name="form1">
Form name:<input type="hidden" name="hide1" value="Test">
<p>
<input type="button" value="Hidden Name"
onClick='alert("The Hidden object name is: " + form1.hide1.name)'>
</form>
</body>
</html>
|
Read now
Unlock full access