ok, Ive an asp.net page, with the following div element
I have a javascript function
When the function is called, the div does not update.
I have put an alert in, and the function is being called withte right text.
I have tried InnerHTML and innerText Property of the Div
Nothing seems to work,so what am I doing wrong?
Cheers
K
Code:
<div id="customer_response_answer">
<span>
<br>
<div id="tbAnswer" runat="server"></div> </span>
</div>
I have a javascript function
Code:
<script language=JavaScript> function updateAnswer(txt){document.getElementById('tbAnswer').InnerText=txt;}</script>
When the function is called, the div does not update.
I have put an alert in, and the function is being called withte right text.
I have tried InnerHTML and innerText Property of the Div
Nothing seems to work,so what am I doing wrong?
Cheers
K