Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing a form element text value to an applet via a button

Status
Not open for further replies.

HubCapped

Programmer
Feb 8, 2005
4
GB
Im pretty new to javascripts, and have been told this is a good exercise to start with, i'm trying to develop a small application combining a html form and a javascript applet.

I have set up a form within html and have inlcuded one text elememt and one button element, as below

<form id="form_1" method=“get" action=“login.jsp">

Enter URL String:
<input type="text" name="firstname" id="text_1_on_form"/>
<input type="button" id="button1" value="Send to Applet" />
</form>


I want to be able to type a website address, e.g. into the text part and then on the click of the button i want to display the text further down my html page within a java aplet section. Then inlcude another butoon in the applet to actually link to the website. Any pointers on where i should begin thinking/coding would be helpful.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top