-
FEATURED COMPONENTS
First time here? Check out the FAQ!
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?
Asked: 2013-09-09 13:06:58 +0800
Seen: 3 times
Last updated: Sep 09 '13
Theme javascript wpd file not found
Problem generating label value dynamically with JavaScript
Page as ZUL component, multiple instances of the same VM on one page
zk.wpd JS error, with window inside window
Using ZK 5: How to add a script into the head tag from java?
Unable to get default printer name while using applet
Facing issue in masking on phone [closed]
coerceFromString_ override no longer works from 6.5.1 [closed]
Execute Javascript on component visible
Is there a way to resolve view model properties as input to client side javascripts?