1. html <select ng-model="selectOrderState" style="border:none;left:0" ng-options="state.name for state in orderStates"></select> 2. js //订单状态 $scope.orderStates=[ {name:'全部',id:""}, {name:'等待审核',id:&quo
$(document).ready(function() { $(".contenttext").mouseup(function(e) { var txt; var parentOffset = $(this).offset(); var x = e.pageX - parentOffset.left; var y = e.pageY - parentOffset.top; txt = window.getSelection(); if (txt.toString().length
var dropDownList= document.getElementById("<%=DropDownListID.ClientID %>");//获取DropDownList控件 var dropDownListValue = dropDownList.options[dropDownList.selectedIndex].value;//获取选择项的值 //注:DropDownListID是DropDownList控件的ID. JS验证是否有非0值: -- if