This is the code i used for retrieving values form a table
the value that is retrieved form the table data has to be stored in a session. how can i do that please help
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');
}
});
Comment