jquery下拉列表选中项改变时获取新选项的属性值时间:2023-03-09 19:54:45 $("#textSel").change(funtion(){ var selVal=$(this).val(); var selText=$("#textSel option:selected").text(); var otherAttr=$("#textSel option:selected").attr("..."); });