Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

send data to applet

Posted on 2003-02-26
7
Medium Priority
?
167 Views
Last Modified: 2010-04-01
I have an applet 99% constructed thanks to kenneth, but my last problem is this

theres is one applet and one combo box, when I click a combo box i want to send parameters to the applet or call properties on it without refreshing is this possible?
0
Comment
Question by:nick5454
  • 3
  • 3
7 Comments
 
LVL 14

Accepted Solution

by:
kennethxu earned 400 total points
ID: 8031339
1. declare a method in applet.

2. name you applet in html
<APPLET CODE="MyApplet.class"  
        NAME="myApplet" .... >

3. call it from javascript
   document.myApplet.myMethod()
0
 
LVL 3

Expert Comment

by:NetWize
ID: 8032318
Yo, that's right. Be sure to enable "scripting applets" in your browsers security options.

The method has to be public inthe applet.
0
 

Author Comment

by:nick5454
ID: 8038913
perfect
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Author Comment

by:nick5454
ID: 8038916
I mean perfect
0
 
LVL 14

Expert Comment

by:kennethxu
ID: 8039197
thanks :)
0
 

Author Comment

by:nick5454
ID: 8039226
hey since you answer my ? so well, try that swirl ? out
0
 
LVL 14

Expert Comment

by:kennethxu
ID: 8042545
>> try that swirl ? out
sorry, I did get you. what swirl?
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Welcome to 2018! Exciting things lie ahead in the world of tech. To start things off, we compiled great member articles on how to stay safe, ways to learn, and much more! Read on to start your new year right.
How do you create a user-centered user experience on your website? And what are some things you should consider in the process?
Screencast - Getting to Know the Pipeline
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses

580 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