JavaScript to Loop through Datagrid

Discussion in 'ASP .Net' started by Rathtap, Aug 17, 2004.

  1. Rathtap

    Rathtap Guest

    I have a pop-up window that has a grid of which the first column is an
    unbound checkbox and the second is databound label.
    When the user closes the window I want to be able to loop through the
    grid in the client-side and create a string to hold values contained
    in the second column to return to the calling page but for only those
    rows that the user selects.
    Any sample javascript will be appreciated.
    Rathtap, Aug 17, 2004
    #1
    1. Advertising

  2. View HTML source of the window. You will see what HTML elements make up your
    grid. It will give you an idea how to loop through them.

    Eliyahu


    "Rathtap" <> wrote in message
    news:...
    > I have a pop-up window that has a grid of which the first column is an
    > unbound checkbox and the second is databound label.
    > When the user closes the window I want to be able to loop through the
    > grid in the client-side and create a string to hold values contained
    > in the second column to return to the calling page but for only those
    > rows that the user selects.
    > Any sample javascript will be appreciated.
    Eliyahu Goldin, Aug 18, 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. john
    Replies:
    3
    Views:
    6,772
    crawf061
    Jan 30, 2008
  2. Roedy Green
    Replies:
    3
    Views:
    415
    Mike Schilling
    Sep 13, 2008
  3. susie

    loop through datagrid

    susie, Dec 22, 2003, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    171
    Micharel Tkachev
    Dec 24, 2003
  4. Replies:
    0
    Views:
    248
  5. Isaac Won
    Replies:
    9
    Views:
    354
    Ulrich Eckhardt
    Mar 4, 2013
Loading...

Share This Page