Solved

Can applet access html's dom elements? how?

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

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.
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.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

785 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