-
- var DollarDepositArray = <?php echo json_encode($arrayForDollarDeposit); ?>
-
- for ( var i = 0; i < DollarDepositArray.length; i = i + 1 ) {
- var item = DollarDepositArray[i]
-
- // console.log(item)
-
- $("td.forDepositDollar[id='"+item+"']").filter(function() {
- return $(this).text() == item
- }).not(':last').css("background-color","yellow");
- // .not(':last').remove()
-
- }
my problem is I cannot get the right value of my id attribute, only 0.00 are getting, second one is I cannot get and remove the values in the column dollar and peso,
thanks