Files
C2P/C2P/Scripts/jSteamware.js
T
2014-04-15 15:11:18 +02:00

49 lines
1.3 KiB
JavaScript

/*
* Utility JS Steamware
*
* Steamware 2014+
*
*/
/*------------------------------------------------------------------
- Formattazione date (standard e formato AS400 tipo yyyyMMdd
------------------------------------------------------------------*/
function dtStandard() {
$.datepicker.setDefaults($.datepicker.regional["it"]);
$(".datepicker").datepicker({
//showOtherMonths: true,
//selectOtherMonths: true,
showButtonPanel: true,
changeMonth: true,
changeYear: true,
dateFormat: "dd/mm/yy"
});
}
/*------------------------------------------------------------------
- Abilitazione tabs jQueryui
------------------------------------------------------------------*/
function fixTabs() {
$(".tabGroup").tabs();
}
/*------------------------------------------------------------------
- Chiamate al DOM pagina pronta jQuery
------------------------------------------------------------------*/
$(function () {
dtStandard();
fixTabs();
});
//// oggetto da legare all'update parziale ajax di asp.net
//var prm = Sys.WebForms.PageRequestManager.getInstance();
//prm.add_endRequest(function () {
// // re-bind your jQuery events here
// $(function () {
// dtStandard();
// fixTabs();
// });
//});