ListBox and Javascript

  • Thread starter Thread starter Ken
  • Start date Start date
K

Ken

I have a ListBox item and I am using a javascript onclick function to
add items to the ListBox. The problem is when I do a post back .net
doesn't see any of the items I added w/ javascript, just the original
items. It there anyway to fix this?

Thanks,

Ken
 
you will need to extract them from your form post on postback and then then
use them befre form load occurs to make them available. If your loading the
listbox in form load then you will probably be overwriting the values your
javascript has added.

--
Regards

John Timney
Microsoft Regional Director
Microsoft MVP
 
Back
Top