E-Mail:

Talk to JavaScript

We all know that there is a huge difference between Java and Javascript, right? But did you know that with the right kind of scripting, they can actually talk to one another? It’s true, see for yourself!

Communication between JavaScript and Java applets can be made possible using something called LiveConnect. JavaScript can be used to access Java variables, classes and methods directly, and conversely Java can be used to access JavaScript methods and properties.

Enabling LiveConnect

Before Java and JavaScript can communicate at all, LiveConnect must be enabled. This is done by putting a special attribute in the (applet) element:

What Do You Think?

 

Want to Start a Blog Here for Free?

Are you an expert in one subject or another? If your goal is to help others and dispense your hard-earned information back to the community, get involved in our community site today! You can write about anything - no matter the topic. Exceptional candidates will be offered the chance to contribute to (and generate revenue from) the main Lockergnome site. Join us today!

SEO - Apr 22, 2008

Using An SEO Company Vs. Hiring An In-House Expert: The True Dollar Cost

73 queries / 0.305 seconds.