DropDownList 选中change
<script language="javascript" type="text/javascript">
$(function(){
$("#ddltype").change(function(){
$("#icSup_tboxwhere").val($("#ddltype option:selected").text());
});
if($("#icSup_tboxwhere").val()=="")//第一行选中
{
$("#icSup_tboxwhere").val($("#ddltype option:selected").text());
}
});
</script>
本人博客的文章大部分来自网络转载,因为时间的关系,没有写明转载出处和作者。所以在些郑重的说明:文章只限交流,版权归作者。谢谢