views:

11

answers:

1

Hello all,

I have a simple page with a header on top and a java applet on the bottom. the applet uses an input (passed via php get parameter, aka index.php?url=http://www.image.com/img.jpg. This java script will calculate the average color throughout the picture. i'd like the header to match this average color.

how can i send this information back to the DOM?

thanks!!

A: 

Here is how to access Java variable from Java script
Here is how to call Java method from JavaScript
Here is how to call JavaScript from Applet

Romain Hippeau
ahh wonderful! apologies, as i did search around. i suppose it was wrong keywords.
matt