Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Calendar - focus, when done

Posts: 1
Registered: 9/1/2011
Location: Tennessee
Member Is Offline
posted on 9/1/2011 at 03:09 AM Reply With Quote
Calendar - focus, when done

Man - i feel like a schmuck for asking - on such a wonderful free piece of code...

BUT>>> (it never hurts to ask)

I want the form focus to be on the date field that the calendar control JUST populated... How can I do this???

The calendar Control - currently - when done, has no focus - so if you TAB, instead of going to the NEXT form element, you start all over... :(

suggestions? Ive looked at the code - and it's obscure enough that a NON js person, like me just gets lost...

View User's Profile View All Posts By User U2U Member

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 11/28/2011 at 03:43 AM Reply With Quote

In tcal.js replace

else {
e_input.value = f_tcalGenerateDate(d_date, A_TCALCONF.format);


else {
e_input.value = f_tcalGenerateDate(d_date, A_TCALCONF.format);
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos
Free Download Free Download
Product Documentation Documentation
Support Forum Support Forum

Go To Top

Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004