By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,518 Members | 1,211 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,518 IT Pros & Developers. It's quick & easy.

how to retrive values from a table that is dynamically generated

syedshaffee
P: 91
This is the code i used for retrieving values form a table
Expand|Select|Wrap|Line Numbers
  1. $("#Table_Data tr:even").click(function(){
  2.    $(this).find(':checkbox').attr('checked', ! $(this).find(':checkbox').attr('checked'));    
  3.    if($(this).find(':checkbox').attr('checked'))
  4.         {
  5.               var html = '';
  6. $(' #Table_Data Checkbox1').click(function() {
  7.     html = $(this).text();
  8.     alert(html);
  9. });
  10.  
  11.         }
  12.         else
  13.         {
  14.             $(this).removeClass('highlight');
  15.               $(this).addClass('evenrow');
  16.         }
  17. });
  18.  
  19.  
the value that is retrieved form the table data has to be stored in a session. how can i do that please help
Jan 18 '12 #1
Share this Question
Share on Google+
7 Replies


Dormilich
Expert Mod 5K+
P: 8,639
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.
Jan 18 '12 #2

syedshaffee
P: 91
Can u please give me the code of it
Jan 18 '12 #3

Dormilich
Expert Mod 5K+
P: 8,639
I know too less of your system to have code for it.
Jan 18 '12 #4

syedshaffee
P: 91
i using ie 6 with sql 2005 and platform of.net2.0 for asp
Jan 18 '12 #5

Dormilich
Expert Mod 5K+
P: 8,639
I have no idea how to do that in ASP.

besides that, upgrade your browser, IE6 is the worst browser possible.
Jan 18 '12 #6

syedshaffee
P: 91
How about in javascript/Dhtml
Jan 18 '12 #7

Dormilich
Expert Mod 5K+
P: 8,639
I am not a coding service. though I gladly help you solving problems.
Jan 18 '12 #8

Post your reply

Sign in to post your reply or Sign up for a free account.