jQuery: The Write Less, Do More JavaScript Library

Plugins/Calendar/reconfigureFor

From jQuery JavaScript Library

Jump to: navigation, search


« Back to Plugins/Calendar

reconfigureFor( control, settings )

Change the settings for a previously attached calendar.
Arguments:
controlElement,String
The input field, division or span to which the calendar is attached, or a jQuery selector for these fields.
settingsOptions
The new settings for this calendar.


Examples:
Reconfigure the calendar for an input field - changing its opening speed.

popUpCal.reconfigureFor('#reconfigureCal', {speed: select.options[select.selectedIndex].value});

NameType