📄 handlers.js
字号:
/* **********************
Event Handlers
These are my custom event handlers to make my
web application behave the way I went when SWFUpload
completes different tasks. These aren't part of the SWFUpload
package. They are part of my application. Without these none
of the actions SWFUpload makes will show up in my application.
********************** */
function fileDialogComplete(numFilesSelected, numFilesQueued) {
this.startUpload();
}
function uploadSuccess(file, serverData) {
try {
document.getElementById("divStatus").innerHTML = this.getStats().successful_uploads + " files uploaded";
var p = document.createElement("p");
p.innerHTML = "FlashCookie set to " + serverData;
document.getElementById("divCookieValues").appendChild(p);
} catch (ex) {
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -