Hi,
I need to change the width of a td using javascript. The value of the width will be pulled in and then I need to multiple it to get a percentage. I just need to know how to write the js so far I have got to here but it is not working
<script language="JavaScript">
var divWidth = 66*0.4;
document.write("<td width="+divWidth+">");
document.getElementById("myRow").write("<td width="+divWidth+">");
</script>
<table>
<tr>
<td id="myRow"></td>
</tr>