पर आज का बटन चालू करें मैं इस स्रोत http://jqueryui.com/datepicker/#buttonbar से डेट पिकर का उपयोग कर रहा हूं, मैं बटन बार पर सक्रिय "बटन" बटन को सक्रिय करने की कोशिश कर रहा हूं, क्या कोई मेरी मदद कर सकता है।दिनांक पिकर
$(".datepicker").datepicker({
showButtonPanel: true, closeText: 'Clear',
gotoCurrent : true,
changeMonth: true,
changeYear: true,
yearRange: '1900, 2300',
dateFormat: _DateFormatDatePicker,
onSelect: function (dateText, inst) {
dateAsString = dateText; //the first parameter of this function
var dateAsObject = $(this).datepicker('getDate'); //the getDate method
document.getElementById('<%=hdnTempDate.ClientID%>').value = dateText;
}
है कि आप जवाब देने के लिए मदद मिल सकती है मुझे http://api.jqueryui.com/datepicker/#option-currentText – Alaa
वाट आप इसे हो रही द्वारा मतलब है " सक्रिय "? –
ऐसा प्रतीत होता है कि यह आसान नहीं है, यहां एक नज़र डालें: http://stackoverflow.com/questions/1073410/today-button-in-jquery-datepicker-doesnt-work –