I have a javascript function :myFunction, that will take this as parameter
and fill this a value
The useage of myFucntion is like:
<asp:TextBox ID="TextBox1" runat="server"
onclick="myFunction(this);"></asp:TextBox>
But after it return a value to TextBox1, I want to set the focus on TextBox1
How can I do that in myFunction?
Michael Baltic - 28 Jun 2005 20:48 GMT
TextBox1.focus();

Signature
Staff Consultant II
Enterprise Web Services
Cardinal Solutions Group
> I have a javascript function :myFunction, that will take this as parameter
> and fill this a value
[quoted text clipped - 4 lines]
> But after it return a value to TextBox1, I want to set the focus on TextBox1
> How can I do that in myFunction?