0

zk jsp components to be used in javascript

asked 2011-07-29 06:48:35 +0800

shivam gravatar image shivam
66

Hi I am using zk jsp tags(ex <z:page>) in a jsp page. They are working fine but now I want to use the components defined by those tags in javascript in the same page. How can I do that

For example
I have a datebox in my jsp
<z:page>
<z:datebox id="datebox" name="datebox">
<z:page>


I want to use this datebox component in a javascript on the same page.
I have tried document.getElementById('datebox'); but it returns null always
I have tried someother ways and also searched the net but couldnt find out any way to do it.
Pls help

Thanks and regards,
Shivam Sharma

delete flag offensive retag edit
Be the first one to reply this discussion!
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

RSS

Stats

Asked: 2011-07-29 06:48:35 +0800

Seen: 239 times

Last updated: Jul 29 '11

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