checkboxlist data population and validation using javascript

D

deepak kumar

i need to populate checkboxlist(3 here) using javascript only(no serverside
programming)..........here populate means that they should be checked based
on any condition....and also if user does not check any one of them and click
a button to submit page to posatback (server) then alert mesage should be
come here .. it means user must have to select(i mean check ) at least one
checkbox (out of 3) from checkboxlist..........
he can select all or at least one checkbox from
checkboxlist..............how can i do this in javascript.give me one example
with code..........
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,015
Latest member
AmbrosePal

Latest Threads

Top