Wrox Programmer Forums
|
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 29th, 2007, 06:43 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 119
Thanks: 0
Thanked 1 Time in 1 Post
Default Question on error

I am getting the following error:

'value' is null or not an object

on this line:

var item0 = document.addItems.elements['stockReq.reqItems[0].itemNum'].value;

I'm trying to validate if field is Null.

I'm sure this is something pretty simple I just can't see it.

Any help would be appreciated.

Thanks
 
Old June 29th, 2007, 06:54 AM
Authorized User
 
Join Date: Jun 2007
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi savoym

I think this message means that there is no attribute named 'value' on object document.addItems.elements['stockReq.reqItems[0].itemNum']

Ehsan Zaery Moghaddam





Similar Threads
Thread Thread Starter Forum Replies Last Post
Error code / General question Grafixx01 Access 6 April 20th, 2007 08:12 AM
View Page Error Question ublend ASP.NET 1.0 and 1.1 Basics 8 March 23rd, 2007 09:20 AM
Question about error after adding serialization... davidd31415 BOOK: Ivor Horton's Beginning Visual C++ 2005 1 December 28th, 2006 04:58 AM
Error Handling Question Lucy Classic ASP Basics 5 November 18th, 2003 06:28 AM
metadata error question beertv Dreamweaver (all versions) 5 November 13th, 2003 01:39 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.