This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSF and the fly likes Question on textfield next to DATEPICKER icon Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Question on textfield next to DATEPICKER icon" Watch "Question on textfield next to DATEPICKER icon" New topic
Author

Question on textfield next to DATEPICKER icon

Melinda Savoy
Ranch Hand

Joined: Jun 21, 2005
Posts: 386

Is there a way in JQuery whereby I could prevent a user from entering a date in a textfield and forcing them to click on the javascript tcal date picker icon next to this textfield to choose the date but it would still display in the textfield?

I would like to accomplish this in the form onload event. Any help would be appreciated. Thank you..

Here is my JSF code in my JSP page:

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Question on textfield next to DATEPICKER icon
 
Similar Threads
view record from database using click event in jsp
JSP Help Regarding the Radio Button
Question on jQuery ajax functionality & troubleshooting called bean in JSF page
problem with java lib
The program error!