0

ZK 5.0.9 + Javascript

asked 2013-09-09 13:06:58 +0800

soulsacrifire gravatar image soulsacrifire
15 1
http://www.sarzano.com/

updated 2013-09-09 13:09:43 +0800

Hi guys,

I'd like to close a zul page, i.e. registration form page. I'm trying to use this code: in my zul page:

    <button sclass="btNormal" hflex="1" id="btClose" label="Chiudi"/>
    <attribute name="onClick">
    Clients.evalJavaScript("chiudi()");
    </attribute>
    <script type="text/JavaScript"> 

    function chiudi(){
    document.getElementById('cancellaWin').close();
    }

where cancellaWin is a zk window object.

Could you help me?

delete flag offensive retag edit
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2013-09-09 13:06:58 +0800

Seen: 3 times

Last updated: Sep 09 '13

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More