Solved

Can applet access html's dom elements? how?

Posted on 2006-06-15
3
502 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to convert String matching to regex in java 4 50
Android development question 2 54
Chrome and Firefox Java 5 51
Selenium docs api java index 3 48
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
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…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

829 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