-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I want to create a zul page with a label which value is generated by a Javascript file.
I have create the following code but somehow it doesn't work:
<label id="oldest" style="color:#000000;font-size:110px; text-align: center">
<attribute name="value" >
<![CDATA[
<script language="javascript">
function getValue() {
return 'Hello JavaScript';
}
</script>
]]>
</attribute>
</label>
Any idea on how to make this thing work? Thanks in advance
Asked: 2014-05-09 11:35:19 +0800
Seen: 18 times
Last updated: May 10 '14
Theme javascript wpd file not found
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?