wood burning stoves
The moose likes HTML, CSS and JavaScript and the fly likes forms[0].changes.value is null or not an object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "forms[0].changes.value is null or not an object" Watch "forms[0].changes.value is null or not an object" New topic

forms[0].changes.value is null or not an object

john mattucci
Ranch Hand

Joined: Nov 03, 2000
Posts: 331
Im quite new to javascript and im getting the following error document.forms[0].changes.value is null or not an object. What am i doing wrong? Thanks for your time

<script language="JavaScript">
function writeIt()
<table width="750" border="1" cellspacing="3" cellpadding="3">
<th>Item Type</th>

<td class="regtext" valign="top">
<SELECT name='itemType' onchange="writeIt();">

<OPTION value="A" selected>A</OPTION>
<OPTION value="N">N</OPTION>
<OPTION value="P">P</OPTION>
<OPTION value="T">T</OPTION>
<input type="text" name="price" value="90" onchange="writeIt();" size="20">
<input name="id" type="hidden" value="AJ-LA-4005">
<input name="changes" type="hidden">
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63534

There is no form on your page.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link: http://aspose.com/file-tools
subject: forms[0].changes.value is null or not an object
It's not a secret anymore!