p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

asp_databases thread: RE: popluate list box with values from a database


Message #1 by Colin.Montgomery@C... on Fri, 14 Jun 2002 11:49:16 +0100
you should use ASP to populate a JavaScript array containing the values and
text for the list box.  Then you need to write your onClick handler in
JavaScript to fill the list box with these values.

HTH,
Col

-----Original Message-----
From: shawn mccabe [mailto:shawn_mccabe@c...]
Sent: 13 June 2002 23:29
To: ASP Databases
Subject: [asp_databases] popluate list box with values from a database


How can I popluate a list box with values from a database on a onclick 
event.
I can poplate the list box when the asp page loads but not on the onclick 
event why and how do I accomplish this task.


*******

This message and any attachment are confidential and may be privileged or otherwise protected from disclosure.  If you are not the
intended recipient, please telephone or email the sender and delete this message and any attachment from your system.  If you are
not the intended recipient you must not copy this message or attachment or disclose the contents to any other person.

For further information about Clifford Chance please see our website at http://www.cliffordchance.com or refer to any Clifford
Chance office.

Message #2 by "shawn mccabe" <shawn_mccabe@c...> on Thu, 13 Jun 2002 22:28:43
How can I popluate a list box with values from a database on a onclick 
event.
I can poplate the list box when the asp page loads but not on the onclick 
event why and how do I accomplish this task.

  Return to Index