R
Robert Storrs
I need to set the value of a asp text box in javascript.
<asp:TextBox id="txtUserValue" runat="server"
I have tied:
function setValue(valueData) {
alert(valueData);
document.Analysis_UserEnt.txtUserValue.Value = valueData;
document.Analysis_UserEnt.txtUserValue.Text = valueData;
document.Analysis_UserEnt.txtUserValue.InnerText =
valueData;
None of these work. Any suggestions? The function
setValue is being called by a child page. This works as I
have used alert statements to track progress.
Analysis_UserEnt is the asp form id
Bob Storrs
<asp:TextBox id="txtUserValue" runat="server"
test</asp:TextBox>
I have tied:
function setValue(valueData) {
alert(valueData);
document.Analysis_UserEnt.txtUserValue.Value = valueData;
document.Analysis_UserEnt.txtUserValue.Text = valueData;
document.Analysis_UserEnt.txtUserValue.InnerText =
valueData;
None of these work. Any suggestions? The function
setValue is being called by a child page. This works as I
have used alert statements to track progress.
Analysis_UserEnt is the asp form id
Bob Storrs