Hi
document.forms[0].TextBox1.value = "blah";
--
Best Regards
Vidar Petursson
==============================
Microsoft Scripting MVP
http://www.microsoft.com/technet/scriptcenter
==============================
"JR" <JR*****@att.net> wrote in message
news:OU**************@tk2msftngp13.phx.gbl...
I have a 3rd party asp.net grid. It has some clientevents that allows the
user to attach js code to. I have js in one of the events, when fired I
want to populate an asp.net:textbox control. The script works for the
event, but I can' t get it to populate the asp.net:textbox. This should be
possible, shouldn' t it; Below is the script:
if (G0IsEditing())
{alert("Edit Mode");
TextBox1.text="test";
}
return;
TIA