Javascript syntax question
Posted: Tue Sep 12, 2006 6:43 pm
What actually is
Code: Select all
document.forms[0].content.valueA community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
document.forms[0].content.valueThanks...The Ninja Space Goat wrote:...content would be either the name or id of an element...
Code: Select all
<html>
<body>
<form>
<input type="text" name="header">
<input type="text" name="content" value="Foobar">
</form>
<form>
<input type="text" name="content" value="This is not the right content element">
</form>
</body>
</html>