Solved

Can applet access html's dom elements? how?

Posted on 2006-06-15
3
507 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

751 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