Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] what is the maximum for a drop down box...I stuff it with 4418 items


  • From: javascript@xxxxxxxxxx (Peter Brunone)
  • Subject: [Javascript] what is the maximum for a drop down box...I stuff it with 4418 items
  • Date: Fri, 21 Dec 2001 22:08:51 -0600

Scott,

	Was there any more to the error message?

	Without seeing the rest of the code (specifically the previous page which
apparently posts to this one), we won't be able to tell much.

	Are you familiar with AspFriends.com ?  You may get some more informed
answers from the lists there regarding the server-side portion of your code,
as well as advice on best practices and optimization.  I'd suggest either
the [aspfreeforall] list (for this portion) or the [aspclient] list if it
turns out to be a problem with the capabilities of form controls.

Happy Holidays,

Peter Brunone

|-----Original Message-----
|From: javascript-admin@xxxxxxxxxx [mailto:javascript-admin@xxxxxxxxxx]On
|Behalf Of Scott.Wiseman
|Sent: Friday, December 21, 2001 5:58 PM
|To: 'javascript@xxxxxxxxxx'
|Subject: [Javascript] what is the maximum for a drop down box...I stuff
|it with 4418 items
|
|
|and I can't do a request.form("thebox")
|
|I get an error
|
|testing 2 before myArray Split
|error '80020009'
|
|<%
|	DIM ux,xinfo(),emailname(),emailaddress(),myArray
|
|response.write "<BR>testing one before the request.form check<BR>"
|'---------------------------------------------------------
|'  Test if we have Emails to Send from the Drop Down Box
|'---------------------------------------------------------
|'    response.write Request.Form("emailslistnames")
|
|'	if len(Request.Form("emailslistnames"))>3 then
|'---------------------------------------------------------
|'  Break Down the Drop Down Box into an Array
|'---------------------------------------------------------
|
|  			response.write "<BR>testing 2 before myArray
|Split<BR>"
|
|			myArray =
|Split(Request.form("emailslistnames"),",",-1)
|
| 			response.write "<BR>testing 2<BR>"
|
|			ux= ubound(myArray)
|		   redim xinfo(ux)
|		   redim emailaddress(ux)
|		   redim emailname(ux)
|			response.write "<BR>testing 3<BR>"
|
|			for x= lbound(myArray) to ubound(myArray)
|
|				xinfo(x) = myArray(x)
|
|			emailname(x)		=  RTrim ( replace ( left(
|xinfo(x), instr(xinfo(x),":") ) , ":","") )
|
|			emailaddress(x) 	= RTRIM ( Ltrim ( Mid(
|xinfo(x), instr(xinfo(x),":") + 1 ) ) )
|
|
|
|			NEXT
|'	else
|		response.write "error accessing this page...not email
|address were sent!!!!"
|		response.end
|
|'	end if
|response.write "<BR>testing 4<BR>"
|
|%>