how to retrive values from a table that is dynamically generated

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • syedshaffee
    New Member
    • Jan 2012
    • 91

    #1

    how to retrive values from a table that is dynamically generated

    This is the code i used for retrieving values form a table
    Code:
    $("#Table_Data tr:even").click(function(){
       $(this).find(':checkbox').attr('checked', ! $(this).find(':checkbox').attr('checked'));    
       if($(this).find(':checkbox').attr('checked'))
            {
                  var html = '';
    $(' #Table_Data Checkbox1').click(function() {
        html = $(this).text();
        alert(html);
    });
    
            }
            else
            {
                $(this).removeClass('highlight');
                  $(this).addClass('evenrow');
            }
    });
    the value that is retrieved form the table data has to be stored in a session. how can i do that please help
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    the value that is retrieved form the table data has to be stored in a session.
    either pass the data to a server script that saves the data in a session or try the new Web Storage features of JavaScript.

    Comment

    • syedshaffee
      New Member
      • Jan 2012
      • 91

      #3
      Can u please give me the code of it

      Comment

      • Dormilich
        Recognized Expert Expert
        • Aug 2008
        • 8694

        #4
        I know too less of your system to have code for it.

        Comment

        • syedshaffee
          New Member
          • Jan 2012
          • 91

          #5
          i using ie 6 with sql 2005 and platform of.net2.0 for asp

          Comment

          • Dormilich
            Recognized Expert Expert
            • Aug 2008
            • 8694

            #6
            I have no idea how to do that in ASP.

            besides that, upgrade your browser, IE6 is the worst browser possible.

            Comment

            • syedshaffee
              New Member
              • Jan 2012
              • 91

              #7
              How about in javascript/Dhtml

              Comment

              • Dormilich
                Recognized Expert Expert
                • Aug 2008
                • 8694

                #8
                I am not a coding service. though I gladly help you solving problems.

                Comment

                Working...