Wrox Programmer Forums
|
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To 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 May 10th, 2005, 01:45 AM
Friend of Wrox
 
Join Date: Apr 2005
Posts: 128
Thanks: 0
Thanked 0 Times in 0 Posts
Default Value of array controls

Hi,
I have used an array of listbox controls which are being populated by array values. But when I am trying to put validations in Javascript for these controls I am not being able to access the value stored in each control, though I am using a for.. loop with ubound of the array variable. Instead when I am using the direct array index I am able to access the values which is making the code very lengthy. Is there a method to make it easy using array and for.. loop.

Regards
 
Old May 10th, 2005, 10:52 PM
Friend of Wrox
 
Join Date: May 2004
Posts: 642
Thanks: 0
Thanked 43 Times in 42 Posts
Default

Can u paste the code..

Om Prakash





Similar Threads
Thread Thread Starter Forum Replies Last Post
Convering a String Array to an Integer array nkrust C# 9 November 17th, 2010 12:02 PM
Go from 2d Array to 1d array without defining type OneQuestion General .NET 1 January 10th, 2008 11:13 AM
Using array controls arnabghosh Classic ASP Basics 0 May 10th, 2005 01:34 AM
Looping controls and array redim mega Excel VBA 2 April 19th, 2005 11:57 AM
Passing php array values to javascript array gkrishna Pro PHP 0 November 6th, 2004 03:20 AM





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