P
Pat
Hi ASP Gurus,
Please help me.
Autocomplete works fine when the control does not have the focus when the
page load.
But when I put the focus on page load, then autocomplete does not work.
I even tried javascript pageload code, but with no success.
<script language ="javascript" type ="text/javascript" >
function focusIt() {
//alert('test');
var mytext =
document.getElementById('<%=txtSearch.ClientID%>');
//alert(mytext);
mytext.focus();
}
onload = focusIt;
</script>
What should I do to make it work with focus on it.
Please help, I am stuck on this for some time now.
Thanks Pat.
Please help me.
Autocomplete works fine when the control does not have the focus when the
page load.
But when I put the focus on page load, then autocomplete does not work.
I even tried javascript pageload code, but with no success.
<script language ="javascript" type ="text/javascript" >
function focusIt() {
//alert('test');
var mytext =
document.getElementById('<%=txtSearch.ClientID%>');
//alert(mytext);
mytext.focus();
}
onload = focusIt;
</script>
What should I do to make it work with focus on it.
Please help, I am stuck on this for some time now.
Thanks Pat.