Hi,
New to this so apologies in advance.
I am just trying to access a textbox and give it a value using this code:
Code:
<script type="text/javascript" language="javascript">
function FocusSelected()
{
document.getElementById('TextBox1').value = "hello"
return(true);
}
</script>
The problem is the text box is on a form view on a mutliview on a tab container and i think this is the reason the code does not find the text box. I get the following error: document.getElementById(...)' is null or not an object

Can anyone help?
Thanks
Mojo