Solved

Can applet access html's dom elements? how?

Posted on 2006-06-15
3
504 Views
Last Modified: 2013-11-24
I created an applet that is supposed to have a feature that can save data
and hopefully send that data to the server for persistence (database or whatever) and to also retrieve data from the server
and reflect the data on the applet canvas.
Im thinking of submitting the data thru a POST by using AJAX approach.
is this possible? Can i manipulate javascript function calls and elements from inside my applet?
I would lilke my applet to be able to talk to any kind of server script not just servlet by just using xmlhttprequest.
if this is a bad idea, can someone recommend another way to accomplish the goal?
0
Comment
Question by:ibo
  • 2
3 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 125 total points
ID: 16917997
You can access the DOM through live connect:

http://java.sun.com/products/plugin/1.3/docs/jsobject.html
0
 
LVL 26

Expert Comment

by:ksivananth
ID: 16918132
Go through the link, looks like relevant for you,

http://www.onjava.com/pub/a/onjava/2002/01/23/javascript.html
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 16918195
:-)
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question