hi,

i'm not sure how to unbind a datepicker...

html is:
<p>Date: <input type="text" id="datepicker"></p>
<a href="#" id="load">load datepicker</a><br />
<a href="#" id="unload">unload datepicker</a><br />


javascript:
$(document).ready(function() {
        var loadfn = function () {
                $("#datepicker").datepicker({
                showOn: 'button',
                buttonImage: 'templates/images/calendar.gif',
                buttonImageOnly: true
                });
        };
        $("#load").click(loadfn);

});

is there a possibility to use something like
$("#unload").unbind('click', unloadfn) ?

how looks this function like?
or must i use datepicker( "disable" )?

best regards m
cologne
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to