= 2008-10-18 = '''[目標] 使用 jQuery UI 的 datepicker 實作挑選日期的元件''' * [參考] [http://blog.wu-boy.com/2008/04/30/194/ 好用的日期函式 datepicker] * 下載 jQuery UI Theme - http://ui.jquery.com/themeroller {{{ jazz@sensor:/var/www$ sudo wget -O jquery-ui-themeroller.zip "http://ui.jquery.com/applications/themeroller/download.php?href=/applications/themeroller/css/jquery-ui-base.css.php?ctl=themeroller" jazz@sensor:/var/www$ sudo unzip jquery-ui-themeroller.zip jazz@sensor:/var/www$ }}} * 編輯範例程式: {{{ }}} * [http://plugins.jquery.com/project/dateCompletion Automatic Date Completion] '''[目標] 使用 jQuery File Upload Plugin 達成檔案上傳目的!!''' * 使用 jQuery 當然就要先取得 javascript 檔案囉~ * 第一種方法:下載 jQuery 的 js 檔 - [http://jqueryjs.googlecode.com/files/jquery-1.2.6.min.js 1.2.6 版] * 第二種方法:直接嵌入 jQuery 官方或 Google AJAX API 維護的網址 [http://code.google.com/apis/ajaxlibs/documentation/index.html#AjaxLibraries 詳細清單] {{{ }}} {{{ }}} * 第三種方法:使用 Google AJAX API 的語法 - 先決條件是先取得 Google API Key {{{ google.load("jquery", "1.2.6"); }}} * 下載 [http://www.phpletter.com/Demo/AjaxFileUpload-Demo/ jQuery Ajax File Uploader] * [http://www.phpletter.com/download_project_version.php?version_id=6 ajaxfileupload1.0.zip] * 基本原理: [http://www.w3schools.com/PHP/php_file_upload.asp PHP File Upload 範例]