-
FEATURED COMPONENTS
First time here? Check out the FAQ!
this is my zuml code:
<window>
<script type="text/javascript" src="control.js" defer="true"></script>
<div id="div2">div2</div>
</window>
how can get the widget whose id is div2,the zk Client-side Reference.pdf tells me that I can use zk.Widget.$('div2'),I have trid,but it returns null.
thanks for your help and sorry for my poor English
I think you need to try zk.Widget.$('$div2'). See link. See the $ documentation for Widget where it explains the difference between id and uuid.
See this postZK Phone masking may be it will help you.
Asked: 2013-03-05 09:34:29 +0800
Seen: 47 times
Last updated: Mar 07 '13
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?
scrollbar listner for 2 grid [closed]
Theme javascript wpd file not found