checkboxlist data population and validation using javascript

Discussion in 'ASP .Net Web Controls' started by deepak kumar, Nov 1, 2004.

  1. deepak kumar

    deepak kumar Guest

    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..........
     
    deepak kumar, Nov 1, 2004
    #1
    1. Advertising

  2. one post is enough deepak

    --
    Regards,
    Alvin Bruney
    [ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
    Got tidbits? Get it here... http://tinyurl.com/27cok
    "deepak kumar" <deepak > wrote in message
    news:...
    >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..........
     
    Alvin Bruney [MVP], Nov 1, 2004
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. JD
    Replies:
    5
    Views:
    11,674
    NetArchitect
    Aug 8, 2007
  2. Patrick.O.Ige
    Replies:
    5
    Views:
    19,116
    Patrick.O.Ige
    Jun 19, 2005
  3. deepak kumar
    Replies:
    0
    Views:
    196
    deepak kumar
    Nov 2, 2004
  4. Replies:
    6
    Views:
    152
    murrayatuptowngallery
    Oct 16, 2005
  5. Replies:
    0
    Views:
    79
Loading...

Share This Page