Hi Team,
I have a table data as below, where i would like to change the color of only <th id ="status">Status</th> in .Js file not in html
<thead> <tr> <th>UserID</th> <th>UserName</th> <th>ActiveTime</th> <th>InitiatedBy</th> <th>InitiatedDate</th> <th>ApprovedBy</th> <th>ApprovedDate</th> <th style="width:100px;">ApprovalStatus</th> <th id ="status">Status</th> <th id="edit">Edit</th> <th id="approval">Approval</th> </tr> </thead>
.Js file
if (approveview == true && changestatus == false) { /* $("#status").hide(); */ // I dont want o hide the status just change the color of the status console.log("print 1");
Can anyone suggest me please.