[Javascript] SELECT and OPTION objects

.ben ben at babelfish.co.uk
Mon Aug 13 10:22:53 CDT 2001


Hmm.  Why not just cycle through the recordset and pump out <option> tags?

 .b

----- Original Message ----- 
From: "Howard Salter" <HowardSalter at PenningtonSeed.com>
To: <javascript at LaTech.edu>
Sent: Monday, August 13, 2001 4:28 PM
Subject: RE: [Javascript] SELECT and OPTION objects


> What I wanted to do was set the number of OPTIONS based on the number of
> records returned from an ASP query. So I determined the number of records
> and set the length of the SELECT box to the recordcount object of my
> recordset and then just filled in the OPTIONS. Talk about mixing
> technologies, ASP here JavaScript there, it can get quite confusing.
> 
> Howard
> 
> -----Original Message-----
> From: .ben [mailto:ben at babelfish.co.uk]
> Sent: Monday, August 13, 2001 10:56 AM
> To: javascript at LaTech.edu
> Subject: Re: [Javascript] SELECT and OPTION objects
> 
> 
> You did?  Oooo...can I see? :)
> 
>  .b
> 
> ----- Original Message -----
> From: "Howard Salter" <HowardSalter at PenningtonSeed.com>
> To: <javascript at LaTech.edu>
> Sent: Monday, August 13, 2001 4:05 PM
> Subject: RE: [Javascript] SELECT and OPTION objects
> 
> 
> > I figured it out. Please excuse my momentary mental lapse.
> >
> > Thanks,
> > Howard
> >
> > -----Original Message-----
> > From: Howard Salter [mailto:HowardSalter at PenningtonSeed.com]
> > Sent: Monday, August 13, 2001 10:59 AM
> > To: javascript at LaTech.edu
> > Subject: [Javascript] SELECT and OPTION objects
> >
> >
> > I've been trying to dynamically grow the number of OPTIONS in a SELECT.
> > Unfortunately I have been unable to do so. Can somebody give me a
> suggestion
> > as to how to do this or point me to a resource that may have the
> information
> > I'm looking for.
> >
> > TIA,
> > Howard Salter
> > _______________________________________________
> > Javascript mailing list
> > Javascript at LaTech.edu
> > http://www.LaTech.edu/mailman/listinfo/javascript
> > _______________________________________________
> > Javascript mailing list
> > Javascript at LaTech.edu
> > http://www.LaTech.edu/mailman/listinfo/javascript
> >
> 
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> http://www.LaTech.edu/mailman/listinfo/javascript
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> http://www.LaTech.edu/mailman/listinfo/javascript
> 




More information about the Javascript mailing list