asked
2016-09-20 08:39:28 +0800
hancock46 13 ● 3 Hi,
I have this button in my zul page with ZK7 version:
<button label="${labels.btn.excel.in}" src="/images/excel.png" upload="true" onUpload="@command('importExcel',upload=event)" />
It works correctly, but I need to execute my web site on a client IE11 but with Enterprise Mode. So I need compatibility with IE8.
But my web page doesn't work with IE8. The problem is the syntax upload="true"
.
If I delete this snippet, the page load correctly but the upload command doesn't work.
Can you help me to solve my problem? I need to execute this page on Enterprise Mode with IE8 compatibility.
How can I upload a file?
can you test with : <fileupload onUpload="@command('...')">
chillworld ( 2016-09-20 13:13:08 +0800 )editI tried with <fileupload onUpload="@command('importExcel',upload=event)" /> but I get the same problem. Can you give me other advice?
hancock46 ( 2016-09-20 14:03:40 +0800 )editremoving upload="true" will of course disable the upload functionality. You say "my web page doesn't work with IE8", which is not very precise. What are the effects? JS errors, browser crash, upload causing server errors ... Please have a look into the browser console and paste the info here. Robert
cor3000 ( 2016-09-21 00:53:00 +0800 )editIn my page I have a template with 3 parts: an header, a menu and a body. When I click on the page with the upload button, the browser console is empty but the body and the header of the page are white.
hancock46 ( 2016-09-21 07:09:27 +0800 )editIn Console browser there is also this message but without error: "The attacched page targets document mode 8. Some console APIs and features may not be available."
hancock46 ( 2016-09-21 07:11:30 +0800 )edit