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
Form Submit Question
Moderator: General Moderators
- flying_circus
- Forum Regular
- Posts: 732
- Joined: Wed Mar 05, 2008 10:23 pm
- Location: Sunriver, OR
Re: Form Submit Question
<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.
If you want to pass text information, then do so using the input or textarea elements.
Re: Form Submit Question
Or hidden field.
There are 10 types of people in this world, those who understand binary and those who don't