0

Applet integration - How can i get the html tag id in javascript?

asked 2013-11-26 09:28:19 +0800

gvd gravatar image gvd
0

updated 2013-11-26 12:49:43 +0800

Hello, i've some code which send events between a window and an applet. In the small talks AdvancedIntegrationOfZKAnd_Applets there is some code that doesn't run with zk 5.0.11.

<script type="text/javascript"> function notifyServer() { var varUuid= $e("${wnd.uuid}").id; zkau.send({uuid: varUuid,cmd:"onNotifyServer",data:null,ctl:true}); } </script>

the code $e("${wnd.uuid}").id is on error when i run it.

Which function should i use to get the html tag id?

Thanks, Geoffrey

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-11-26 15:27:10 +0800

Senthilchettyin gravatar image Senthilchettyin flag of India
2617 3 8
http://emrpms.blogspot.in...
function getCSSNLibJObj() {
console.log("getCSSNLibJObj");
var CSSNLibJ = zk.Widget.$("$CSSNLibJ").$n();
return CSSNLibJ;

}

<applet name="CSSNLibJ" id="CSSNLibJ" codebase="../../" archive="xFunction.jar,CSSNLibJ.jar" code="lib.CSSNLibJ" width="1px" height="1px"> </applet>

link publish delete flag offensive edit
Your answer
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-11-26 09:28:19 +0800

Seen: 12 times

Last updated: Nov 26 '13

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