This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
    Bookmark Topic Watch Topic
  • New Topic

Getting the value of a input box in an applet?

 
Darren Alexandria
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Report post to moderator
Good day,

For an example, I have a JSP page which contains an applet.
The applet contains an input box which supposed to get data
from a barcode reader. My question is, is it possible to
get that data in the input box and put it in an input box
written in html or JSP?

Or if the applet that contains the input box is "mixed"
together with other input box written in JSP,
can I get all the values of all the input box?
How?


Thanks.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Report post to moderator
Applets can read and write to the DOM of the HTML page they're on by using the Common DOM API.
 
Darren Alexandria
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Report post to moderator
Okay, I will explore that.

Thanks.

God bless.
 
Darren Alexandria
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,


I'm sorry I didn't quite understand the things written in the link.
I want to get the value of the input box in applet and
put in a property in javaScript or access it through javaScript.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not post the same question to multiple forums: CarefullyChooseOneForum

Let's continue the discussion in this duplicate thread, where you have provided more information.
 
    Bookmark Topic Watch Topic
  • New Topic