Whats wrong?
PHP Code:<form>
<select size="1" name="schools" onChange="location.replace(document.all.schools.value);">
<option>para1</option>
<option>para2</option>
<option>para3</option>
<option>para4</option>
</select>
</form>
| SitePoint Sponsor |



Whats wrong?
PHP Code:<form>
<select size="1" name="schools" onChange="location.replace(document.all.schools.value);">
<option>para1</option>
<option>para2</option>
<option>para3</option>
<option>para4</option>
</select>
</form>


Could the fact that your options do not have a value have anything to do with the problem?
Memento Mori



I fixed that problem...
it works if my data are paragraphs. I wanted to have the data in a table, and the drop down box would jump to the row in the table for that data. Instead, all of the anchor tags are before the table.
Is there a way to get this to work?
Bookmarks