We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpIntegration › Send Input from HTML to Processing
Page Index Toggle Pages: 1
Send Input from HTML to Processing (Read 1188 times)
Send Input from HTML to Processing
May 13th, 2010, 9:15am
 
Hi,
I have a small question about the integration of processing in a html page.
I took the search but didn't find anything.
Is it possible to send inputs i.e. from Textfields or Buttons  to an integrated processing applet?

Thanks a lot.
Re: Send Input from HTML to Processing
Reply #1 - May 13th, 2010, 12:00pm
 
Yes, you need to do that with JavaScript on the HTML page: there is a JavaScript / Java bridge.
Search JSObject.getWindow for example.
Page Index Toggle Pages: 1