close
$(document).on('change','.browseimage',function(){
alert('change');// check FormData and ajax ..});
$(".ajax__fileupload_dropzone").hide();
$(window).load(function () { $(".ajax__fileupload_selectFileContainer").css({ "width": "200px", "overflow": "initial" }); //$(".ajax__fileupload_uploadbutton").html("上傳"); $(".ajax__fileupload_uploadbutton").css({ "background-color": "#479ced", "color": "white", "border-radius": "4px", "border-color": "#4cae4c", "width": "85px", "height": "34px", "padding-top": "5px" }); //$(".ajax__fileupload_dropzone").text("拖曳檔案至此"); $(".ajax__fileupload_dropzone").css({ "color": "#479ced" }); $(".ajax__fileupload").css({ "border-radius": "4px" }); //$(".ajax__fileupload_selectFileButton").text("選擇檔案"); $(".ajax__fileupload_selectFileButton").css({ "background-color": "#5cb85c", "color": "white", "border-radius": "4px", "border-color": "#4cae4c", "font-size": "12pt", "padding-top": "5px", "height": "34px", "width": "200px" }); $(".ajax__fileupload_footer").css({ "height": "40px" }); $(".ajax__fileupload_selectFileContainer").css({ "height": "40px" }); $(".removeButton").css({ "background-color": "pink", "color": "white", "border-radius": "4px", "border-color": "#4cae4c" }); }) function ajaxfileupload_text_change() { Sys.Extended.UI.Resources.AjaxFileUpload_SelectFile = "選擇檔案"; Sys.Extended.UI.Resources.AjaxFileUpload_DropFiles = "拖曳檔案至此"; Sys.Extended.UI.Resources.AjaxFileUpload_Pending = "附加"; Sys.Extended.UI.Resources.AjaxFileUpload_Remove = "移除"; Sys.Extended.UI.Resources.AjaxFileUpload_Upload = "上傳"; Sys.Extended.UI.Resources.AjaxFileUpload_Uploaded = "完成上傳"; Sys.Extended.UI.Resources.AjaxFileUpload_UploadedPercentage = "已上傳 {0} %"; Sys.Extended.UI.Resources.AjaxFileUpload_Uploading = "*上傳中..."; Sys.Extended.UI.Resources.AjaxFileUpload_FileInQueue = "*{0} file(s) in queue."; Sys.Extended.UI.Resources.AjaxFileUpload_AllFilesUploaded = "所有檔案上傳完成."; Sys.Extended.UI.Resources.AjaxFileUpload_FileList = "已上傳檔案清單:"; Sys.Extended.UI.Resources.AjaxFileUpload_SelectFileToUpload = "請選擇檔案上傳"; Sys.Extended.UI.Resources.AjaxFileUpload_Cancelling = "取消中..."; Sys.Extended.UI.Resources.AjaxFileUpload_UploadError = "*An Error occured during file upload."; Sys.Extended.UI.Resources.AjaxFileUpload_CancellingUpload = "取消上傳..."; Sys.Extended.UI.Resources.AjaxFileUpload_UploadingInputFile = "已上傳檔案個數: {0}."; Sys.Extended.UI.Resources.AjaxFileUpload_Cancel = "取消"; Sys.Extended.UI.Resources.AjaxFileUpload_Canceled = "完成取消"; Sys.Extended.UI.Resources.AjaxFileUpload_UploadCanceled = "*File upload cancelled"; Sys.Extended.UI.Resources.AjaxFileUpload_DefaultError = "上傳檔案錯誤"; Sys.Extended.UI.Resources.AjaxFileUpload_UploadingHtml5File = "正在上傳檔案: {0} of size {1} bytes."; Sys.Extended.UI.Resources.AjaxFileUpload_error = "錯誤"; } $(function () { ajaxfileupload_text_change(); })
全站熱搜
留言列表