html的showModalDialog可以返回单个值也可以返回数组。
window.returnValue = {
'localFile' : localFile,'fileSize' : fileSize,
'success' : false,
'message' : msg
};
接收值:
var returnVal = window.showModalDialog(...
alert(returnVal.localFile);....
html的showModalDialog可以返回单个值也可以返回数组。
window.returnValue = {
'localFile' : localFile,};
接收值:
var returnVal = window.showModalDialog(...
alert(returnVal.localFile);....