Can Java do this?!

Is that possible to CONNECT Jbutton action to the 'submit' button on the HTML page.

For example, There are two buttons. One is on the JApplet(JButton), One is on the webpage(submit button).

when you click the JButton, the button on the webpage is also actived, and it will do its submit job. Do you guys know what i mean?

If there is a way to do it , could you please tell me how?

Thanks

[422 byte] By [fanbaggioa] at [2007-11-27 8:56:17]
# 1
You could do it in javascript.But frankly I think a better thing is to avoid having this kind of interdependency.
paulcwa at 2007-7-12 21:18:55 > top of Java-index,Java Essentials,New To Java...
# 2
> But frankly I think a better thing is to avoid having> this kind of interdependency.Understatement of the year.
cotton.ma at 2007-7-12 21:18:55 > top of Java-index,Java Essentials,New To Java...
# 3
Let me understand, you want to "delegate" the onClick of a JButton (in a Applet) to a button in the html ?
pbulgarellia at 2007-7-12 21:18:55 > top of Java-index,Java Essentials,New To Java...
# 4
> Let me understand, you want to "delegate" the onClick> of a JButton (in a Applet) to a button in the html ?Sounds sexy no?
cotton.ma at 2007-7-12 21:18:55 > top of Java-index,Java Essentials,New To Java...
# 5
Maybe you can try with the new AJAX framework
money0422a at 2007-7-12 21:18:56 > top of Java-index,Java Essentials,New To Java...
# 6
AJAX is cool, but I don't see how it relates to submitting a form via an applet.
paulcwa at 2007-7-12 21:18:56 > top of Java-index,Java Essentials,New To Java...
# 7
it s like, when you click on JBUTTON(in web page 1), 'submit button ' (in other web page) is also clicked.how to do it everyone? thanks, any ideas?
fanbaggioa at 2007-7-12 21:18:56 > top of Java-index,Java Essentials,New To Java...
# 8
It would have to be JavaScript.Ask on a JavaScript forum. Java and Javascript are two different things.
paulcwa at 2007-7-12 21:18:56 > top of Java-index,Java Essentials,New To Java...