<textarea id="reason" name="reason" cols="50" rows="5">$reason</textarea> <select onchange="quotecomment(this.options[this.selectedIndex].value)"> <option selected="selected">下拉菜单选择快捷回复语句</option> <option value="QZPHP太棒了,网址是:http://www.qzphp.cn">QZPHP太棒了,网址是:http://www.qzphp.cn</option> </select> <script> function quotecomment(oo){ document.getElementById("reason").value=oo; document.getElementById("reason").focus(); } </script>