<script>
function get_value(select_value,sort_num) { var obj=document.getElementById("box"+sort_num); obj.value=select_value; } </script> <BODY> <table width="70%" border="0" align="right"> <tr> <td><div style="position:relative;"> <span style="margin-left:100px;width:18px;overflow:hidden;"> <select id="hoho" style="width:118;height:18px;margin-left:-100px"> <option value=‘test0‘ onMouseDown="get_value(this.value,4)">test0</option> <option value=‘test‘ onMouseDown="get_value(this.value,4)">test</option> </select> </span> <input name="box4" id="box4" value="" style="width:99px;position:absolute;left:0px;height:20px;"> </div> </td> <td> </td> </tr> </table> </BODY> |
|