<!DOCTYPE html>
function formSubmit()

<p>Enter some text in the fields below, then press the "Submit form" button to submit the form.</p>

<form action = "">
Auth: <select name = "Auth">
<option value = "Server1">Server-1</option>
<option value = "Server2">Server-2</option>
<option value = "Server3">Server-3</option>
<option value = "Server4">Server-4</option>

<form id="frm1" Method="GET" action="logs.html">
Log Number:<input type="text" name="fname"><br>
<input type="button" onclick="formSubmit()" value="Submit">

5 Years
Discussion Span
Last Post by JorgeM

Ok, first, you got to give it more than one minute between the time you first ask for help and then ask again.

When submitting a form, you do not actually need to incorporate JavaScript, at least not in this example. Secondly, are you using more than just HTML? Server-side scripting such as ASP, PHP, ASP.NET? You need to be able to retrieve the input values on the page that you send the data to (you specify that in the action attribute for the form element).

Next, you have two forms in your example. You should have one form for this example. Your select, option, and input elements will be placed within the form element.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.