how to get .html() and .text() from datatable

how to get .html() and .text() from datatable

qasimkhansqasimkhans Posts: 6Questions: 4Answers: 0

hi all, i am using datatable to show record. i have a circle (icon) in first td of each row. i need to turn green this icon of status is 1. i am having problem with getting icon .html() and .text() out from datatable so that i can turn icon green if its corresponding number is matching with the status. currently only 1st icon is green which status is 0. which should not be green.
how i can get .html() and .text() from datatable tr td .if i can get .html() and .text() from datatable i will get it work.
here is my code https://fiddle.jshell.net/6faumn44/41/

Thanks,

Answers

This discussion has been closed.