how can get telnet response from the ocx component (General questions)
dear all:
 [code]
<script for= telnetdlx  event= statechange()  language= JavaScript >
  document.myform.status.value = telnetdlx.StateText (telnetdlx.State);
 
   if( telnetdlx.Receive().indexOf( Username: )>0)
     telnetdlx.PrintText( 1234
 );}
     
</script>
[/code] 
i use the Receive() function to get the telnet response. But it can't show the response message in the ocx,if i use the function.
if there is some other static varaible to get the response,then i can
do the interaction with client's ocx with script 
thx alot!!!!!











