I have a script showing below
 for (var i = 0; i < checkboxes.length; i++) {
        var checkbox = checkboxes[i];
        checkbox.onclick = function() {
            var currentRow = this.parentNode.parentNode;
            var secondColumn = currentRow.getElementsByTagName("td")[1];
            alert("My text is: " + secondColumn.textContent );
        };
    } 
SO I have a variable secondcolumn I want value of this variable in php... How can I do this... I have tried this in php:
- echo $id= secondColumn.value;
- echo "<script>alert('".$id."');</script>";
but not work anymore... Please help
 
     
     
    