Topbar
Topbar
Sign in
|
Join
|
Client Center
Home
Products
Client Center
Contact
Purchase
Support forums
»
Products
»
Cute Editor for ASP
»
Javascript to set focus
Javascript to set focus
08-27-2010, 3:12 AM
surrounding
Joined on 07-27-2010
Posts 23
Javascript to set focus
Reply
Quote
I have a javascript to check the input item in the editor, if there is empty, it would set focus on the editor
I tried to use
var txt = document.getElementById('<%= Editor1.ClientID%>');
txt.focus();
or
document.Editor1.focus();
both are not success
View Complete Thread