Page 1 of 1

Form Submit Question

Posted: Mon Sep 19, 2011 2:53 pm
by blugraphic
i have a form i want to submit. In this form i have the following :

<form id="wassim" action="process.php" method="get">

<select name="item">
<option>Paint</option>
<option>Brushes</option>
<option>Erasers</option>
</select>

<input name="quantity" type="text" />
<input type="submit" />

<span id="spanme">hello text</span>
</form>

when i submit the form i get the "quantity"& "item" values. However, i cant get the inner text of the span "spanme". Is there a way i can submit the value of the span with the form.
thanks

Re: Form Submit Question

Posted: Mon Sep 19, 2011 3:32 pm
by flying_circus
<span> is not a form imput element, so it is not passed when you submit your form.

If you want to pass text information, then do so using the input or textarea elements.

Re: Form Submit Question

Posted: Tue Sep 20, 2011 1:44 am
by VladSun
Or hidden field.