jQuery: The Write Less, Do More JavaScript Library

Plugins/Calendar/getDateFor

From jQuery JavaScript Library

Jump to: navigation, search


« Back to Plugins/Calendar

getDateFor( control )

Retrieve the current date from the calendar attached to an input field.
Arguments:
controlElement
The input field, division or span to which the calendar is attached.


Examples:
Retrieve the calendar date for an input field.

popUpCal.getDateFor($('#invokeFocus')[0]);

NameType