S
selen
I am using above script for Focus to txtAdi which is textbox in c# web
application.But it doesnt work.
Have you any idea why it doesnt work
thanks.......
char c=(char)34;
string script =
"<script language=" + c + "javascript" + c
+ ">" +
" var control = document.getElementById(" + c +
txtAdi + c + ");" +
" if( control != null ){control.focus();}" +
"</script>";
Page.RegisterStartupScript("Focus", script);
application.But it doesnt work.
Have you any idea why it doesnt work
thanks.......
char c=(char)34;
string script =
"<script language=" + c + "javascript" + c
+ ">" +
" var control = document.getElementById(" + c +
txtAdi + c + ");" +
" if( control != null ){control.focus();}" +
"</script>";
Page.RegisterStartupScript("Focus", script);