Hi von, If you want to set focus to the TextBox right after filling the date from the Pop Up Calendar, you can use the .focus() javascript method to do so. E.g.
function ReturnDate() {
if (!(Form1.txtDate.value=="")) {
window.opener...value=Form1.txtDate.value;
window.opener...focus();
window.close();
}
}
von
Member
90 Points
19 Posts
Complex Set Focus Question...
Dec 10, 2003 11:51 AM|LINK
Colt
All-Star
15569 Points
1986 Posts
ASPInsiders
MVP
Re: Complex Set Focus Question...
Dec 10, 2003 12:17 PM|LINK
function ReturnDate() { if (!(Form1.txtDate.value=="")) { window.opener...value=Form1.txtDate.value; window.opener...focus(); window.close(); } }FYI: PopUp Calenar - http://aspalliance.com/87 Regards,von
Member
90 Points
19 Posts
Re: Complex Set Focus Question...
Dec 10, 2003 01:42 PM|LINK