Link to home
Create AccountLog in
Avatar of smithmrk
smithmrkFlag for United States of America

asked on

Checkbox / Gridview / Javascript HELP!

OK...so here is what I'm trying to do:
I have a gridview with a ton of contacts and as the user pages through the contacts as the check the checkbox next to each contact I want to add that contact to a listbox below.

So for example the gridview displays 20 people per page, and for each person they select (checkbox) on each page I want to add that persons name to a listbox below showing each person they added and if they uncheck somone I want to remove that person from the listbox.

What I'm trying to do is create an e-mail list by having the operator pick from a list of contacts and for each person they pick it is added to the listbox or e-mail distribution.

I would like to add and subtract the contacts in the listbox using Javascript because I don't want to have the page keep posting back everytime they pick a new person to add or subtract.

Thanks,
Mark
ASKER CERTIFIED SOLUTION
Avatar of guru_sami
guru_sami
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of smithmrk

ASKER

OK, let me give that a try and get back to you.

Thanks,
Mark
OK, so I used parts of it to make it work!

Thanks,
Mark