I have a table containing this cell -
<td id="section5" height="37" align="center"
class="cellbottomborder">
System Data Maintainance
</td>
How can I read the contents of this cell & set them to something else
dynamically?
The idea is to append an "*" when user had changed some data, so the
following function is called from a controls onchange() event. This works
BUT loses the formattting from the class="cellbottomborder" atrribute -
function changedDetails()
{
var titleCell = getElement('section5')
var titleText = titleCell.innerText;
var pos = titleText.indexOf("*");
if(pos<0)
titleCell.innerText = titleText + "*";
}
Probably very simple!
thanks
harry