Menu

#1 How to get the text that was enetered?

open
nobody
5
2003-11-18
2003-11-18
Anonymous
No

How do I get what the wrote in the applet using the
applet in a form that will post to another page that will
get the value of what was enetered in the applet?

moe@mdsww.com

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I've just started working with this applet, and was wondering
    the same thing. Here is a place to start:

    http://java.sun.com/products//plugin/1.2/docs/jsobject.html

    We should be able to use JavaScript to communicate what is
    in the applet to the form before submition.

    johnmjones at mindspring dot com

     
  • Nobody/Anonymous

    Logged In: NO

    You can get it with
    document.getElementById('Head').getDocumentText

    or

    document.getElementById('Head').getDocumentBody

     
  • Nobody/Anonymous

    Logged In: NO

    Please notice that in hd.html when using linux/firefox, the
    EMBED tag have no ID="Head" so you get a
    "document.getElementByID("Head") has no properties" error.

    Just adding the ID it works.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.