You are here: drop down selection box « HTML « IT news, forums, messages
drop down selection box

Posted by the red dot on 03/04/07 20:26

this is driving me crazy but i am trying to find some examples of a drop
down selection box with a go button that doesnt use javascript... is this
possible or am i barking up a very wrong tree?

at the moment i am using this from an example i got off the net - the other
problem i am having with this is that w3c validator doesnt like me using
'name' but if i change it to 'id' the go button doesnt work,

<form name="langan"class="dropdown">
<fieldset>
<legend>Choose a Film</legend>
<label for="film">Title: </label>
<select name="film" id="film">
<option value="#"></option>
<option value="#">Fighting the Taliban</option>
<option value="#">Meeting the Taliban</option>
<option value="php/afghan.php">Afghan Ladies' Driving School</option>
</select>
<input type="button" onclick="document.location =
document.langan.film.options
[document.langan.film.selectedIndex].value;"value="GO" />
</fieldset>
</form>

please pardon me for my total ignorance on this matter

you can see it in action (if it helps) here
http://www.mediatech.lincoln.ac.uk/krudeforth/langan/

thanks in advance

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация