while getopts "h:a:d:" opt;
do
case $opt in
h) host=$OPTARG;
;;
a) alias=$OPTARG;
;;
d) path=$OPTARG;
;;
*) echo "Неправильный параметр";
echo "Для вызова справки запустите $ME -help";
exit 1
;;
esac
done
writeHost
Now, within the DOM-ready event, attach the Zebra_Datepicker plugin to a <input type=”text”> control
$(document).ready(function() {
// assuming the controls you want to attach the plugin to
// have the "datepicker" class set
$('input.datepicker').Zebra_DatePicker();
});