Updating ListBox in ASP

They have: 2 posts

Joined: Mar 2000

Does anyone know how to update the values in an existing listbox after its created.
I have code that populates the listbox from a recordset. I then want to change the contents of the same listbox if a checkbox is clicked. I have the onclick event calling a sub for the checkbox. But it just creates another listbox.
Any help is appreciated.

Vincent Puglia's picture

They have: 634 posts

Joined: Dec 1999

Hi,

I have a number of selection list scripts with explanations at my site that update lists. They are straight client-side javascript; therefore, the lists are array based. You should be able to modify any one of them for your needs.

Hope this helps
Vinny

------------------
GrassBlade: cut&paste javascript

Where the world once stood
the blades of grass cut me still

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.