Solved

Can applet access html's dom elements? how?

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
nestparen challenge 4 56
Select distinct 25 60
site launch date and last modified date 3 49
Java passing arguments (type error) 2 35
Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
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 implement Singleton Design Pattern in Java.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)

708 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now