J
Jesper Dannemamm
Hi
I am having trouble setting focus on
I tried using this script in the usercontrol's page_load sub to set focus on
a textbox with the ID = "user_name":
Page.RegisterStartupScript("focus", "<script
language=""JavaScript"">document.getElementById.user_name.focus();</script>
")
I get an error message saying that the textbox is null or not an object.
What am I doing wrong??
Regards
Jesper
I am having trouble setting focus on
I tried using this script in the usercontrol's page_load sub to set focus on
a textbox with the ID = "user_name":
Page.RegisterStartupScript("focus", "<script
language=""JavaScript"">document.getElementById.user_name.focus();</script>
")
I get an error message saying that the textbox is null or not an object.
What am I doing wrong??
Regards
Jesper