besoft Active Member Licensed User Longtime User Dec 5, 2015 #1 Hi From DataTable trying to get the value of the first cell in the selected row. Please advise. I've tried several cases, but without success. B4X: $("#example").on("click", "tr", function() { var $name = $(this).children(":first").text(); }); This example should work, but there is no result.
Hi From DataTable trying to get the value of the first cell in the selected row. Please advise. I've tried several cases, but without success. B4X: $("#example").on("click", "tr", function() { var $name = $(this).children(":first").text(); }); This example should work, but there is no result.
besoft Active Member Licensed User Longtime User Dec 5, 2015 #2 SOLVED B4X: $("#table1").on("click", "tr", function() { var $name = $(this).children(":first").text(); document.getElementById("name1").innerHTML = $name; Upvote 0
SOLVED B4X: $("#table1").on("click", "tr", function() { var $name = $(this).children(":first").text(); document.getElementById("name1").innerHTML = $name;