Revision history [back]

click to hide/show revision 1
initial version

answered 2012-12-27 19:25:50 +0800

ansancle gravatar image ansancle

Monty, I created the following very simple page and if you click quickly you can get the blue highlight color without ever activating the alert window, I am using PE not EE. I'm getting beat on about this again since our customer is getting p#ssed. I am wondering what is coloring the button blue in the client and why that can get called but not the javascript callback, I would think they would be in the same place.

<zk>
<zscript>   
    String javascriptOnClickJustAlert = "alert(\"click trigger\");";     
</zscript>
<button height="150px" width="170px" xmlns:w="http://www.zkoss.org/2005/zk/client" w:onClick="${javascriptOnClickJustAlert}" label="Click For Popup"></button>
</zk>
Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More