Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet - Javascript communication

 
Meet Gaurav
Ranch Hand
Posts: 492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

If I call the below line in body onload method applet is returning something. But I like to invoke the below line after the Applet process finished or at some applet event.



getResponseStatus() is a public method in Applet.


Please help
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Then that method should return "null" -or some other special value- until its result is valid. You can use the JavaScript timeout functionality to keep calling the method; be sure to stop calling once the result is valid.
 
Meet Gaurav
Ranch Hand
Posts: 492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf,

settimeout is a good option or I can go through this

http://www.codestore.net/store.nsf/unid/DOMM-4UTFCP
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic