Say I have these variables:
var value1 = '';
var textvalue1 = '';
...
How do I use jquery to set the values and text of a dropdown box from these variables?
<div id"lang">
<form name="languages" id="langSelector">
<select name="file" size="1" target="_blank">
<option value="VALUE">TEXT</option>
<option value=""></option>
<option value=""></option>
<option value=""></option>
<option value=""></option>
</select>
</form></div>
adjust eq(0) to the position of the index you require.