[jQuery] How can I access methods of an applet element using jQuery?
Hi all,
I have some problem using methods of an applet element when I use
jQuery syntax.
How can I solve this problem?
Please refer to the following source code:
<APPLET id="ch01"
archive="classes.jar,jfreechart-1.0.9.jar,jcommon-1.0.12.jar,json.jar,netscape.jar"
code="sooo.AppletXYLine" ></APPLET>
<script type="text/javascript" src="js/jquery/jquery.js"></script>
<script type="text/javascript">
// addValues() is a method defined in AppletXYLine.class
returnValue = document.getElementById("ch01").addValues(strValue); //
this works well
returnValue = $("#ch01").addValues(strValue); // doesn't work
</script>
Thanks,
Philip