In my .Net web application, I'm using a jQuery DatePicker with an icon
trigger like this:

$('#" & wsDateBox.ClientID & "').datepicker({showOn: 'button',
buttonImage: '" & ResolveClientUrl("~/wsUserControls/images/
icon_16x_calendar.gif") & "', buttonImageOnly: true, onSelect: function
() {}, changeMonth: true, changeYear: true});

Sometimes the textbox is disabled, and then I want the icon trigger,
and thus the DatePicker, to be disabled as well so the DatePicker
can't be launched.

How do I accomplish that?

--

You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to jquery...@googlegroups.com.
To unsubscribe from this group, send email to 
jquery-ui+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=.


Reply via email to