p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

proasp_howto thread: How to get Java applet interact with ASP script


Message #1 by George Wu <GeorgeW@j...> on Wed, 28 Jun 2000 09:44:13 -0700
Hi, Friends:

     I am trying to use ASP script function to call public methods or get
value of public variables from Java applet. Suppose I have following codes
in my ASP page : 

    <script language="javascript">
     function getIt()
    {
	document.frmUsage.txtQty.value=document.keyReman.str;
	
    }
    </script>


    I expect to get value of str in KeyReman applet to txtQty field in form
(frmUsage). But no matter what values str has, I always get "undefined" in
the txtQty field. Does anybody know why?
  
    In addition, can applet method call script functions?

    Thank you very much for help.


George Wu


  Return to Index