I have a HTML table created and I want to read the value in cell and use it in a javascript.. Can anyone please suggest how to do this...
<table id="table1">
<tr id="1">
<td> pue </td>
<td> 2.86 </td>
</tr>
</table>
<script>
var PUIDValue = document.getElementById("pue").value;
var chartData1 = [
{
"category": "Evaluation",
"excelent": 20,
"good": 20,
"average": 20,
"poor": 20,
"bad": 20,
"limit": 78,
"full": 100,
"bullet": PUIDValue
}
];