-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
I've a problem about ZK5 on IE browser. "onClick" event is not working on IE and the is no problem with Firefox. For example Button "onDoubleClick" and "onRightClick" works but "onClick" not works on IE.
My example code is below:
<window id="menuWindow" border="normal">
<button label='Alert' onClick="lbl.value = "1"" />
<label id="lbl" />
</window>
Thanks.
Worked fine for me running IE 8.0.6001.18702 and ZK 5.0.3 via the ZK Explorer
Hi
I test on IE8, it also work for me
<zk> <window id="menuWindow" border="normal"> <button label='onClick' onClick='lbl.value = "Clicked"' /> <label id="lbl" /> <button label='onDoubleClick' onDoubleClick='lb2.value="Double Clicked"'/> <label id="lb2" /> <button label='onRightClick' onRightClick='lb3.value="Right Clicked"'/> <label id="lb3" /> </window> </zk>
hi sam,
that code not works on my IE. I tested on other machines and there is same problem. "onDoubleClick" and "onRightClick" are OK but "onClick" not works.
By the way I run IE in default settings and on ZKExplorer the is no problem. I think the reason is my Tomcat.
Thanks.
Ziya
Hi,
When I use ZK 3.6.4 jars there is no problem, but when I copy ZK 5.0.3 jars to same project the problem occurs.
And on glassfish and jboss 6, problem occurs again.
Thanks.
Hi Sam,
ZK Demo 5.0.3 not works on Tomcat + IE.
I can't click "View Source" and "Pure java" tabs,
"Various Form", "Form with Popup"... listitems and
"Layout and Windows", "Layout and Windows" ,,, buttons.
Just stuck on "Creating Window: Hello World" page.
Hi
the ZK demo, is it install on your computer, on the tomcat ? or the ZK Demo online ?
I haven't had your problem before.
What OS do you use, what tomcat version do you use ?
or, as @twiegand mentioned, maybe the IE has some security settings ?
I use ZK 5.0.2. And all the button OnClick event doesn't work at all on IE8. What should I do? Should I change the zk stack with another one?
It will waste my development time, I mean, the time I already spent. Please help me. On IE8, OnClick event never work as well as button styles.
Asked: 2010-08-02 11:42:58 +0800
Seen: 1,602 times
Last updated: Jan 09 '11