Hello, I am making a simple web application using the jserver library (B4J).
I got to the point that I generate a page , populate a table with data, everything works ok.
I would like that when I click on a row in the table I get back the values in the table in LOG().
I have looked at several examples, but I can't seem to figure out the right way.
Can anyone help ?
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
I am interested in the values "uco_serial" and "id_status" . I can display the values on the page, but I can't "link" them back to the B4J application.
			
			I got to the point that I generate a page , populate a table with data, everything works ok.
I would like that when I click on a row in the table I get back the values in the table in LOG().
I have looked at several examples, but I can't seem to figure out the right way.
Can anyone help ?
			
				click() function on a table row:
			
		
		
		$("#table1").on("click", "tr", function() {
    var $name = $(this).children("td:eq(1)").text();
    document.getElementById("uco_serial").innerHTML = $name;
    var $opomba = $(this).children('td:eq(0)').text();
    document.getElementById("id_status").innerHTML = $opomba;
    });I am interested in the values "uco_serial" and "id_status" . I can display the values on the page, but I can't "link" them back to the B4J application.
 
				 
 
		 
 
		 
 
		 
						
					
 
 
		 
 
		 
 
		