<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                ~~~ #匹配所有select option元素 $("select option") #匹配指定的option值的option元素 $("select option[value=‘val’]") #匹配所有選中的option元素 $("select option:selected") #匹配下拉框選中項的選項的值: $("select option:selected").val(); #匹配下拉框選中項的選項的文本內容: $("select option:selected").text(); #添加下拉框option選項 $("#select").append("<option value='Value'>Text</option>"); #刪除指定下拉框option選項 $("select option[value='3']").remove(); #監聽selet的變化 $('select').change(function(event){ var value=$(this).children('option:selected').val(); var content=$(this).children('option:selected').text(); }) ~~~ #將指定的值的optioin設置為默認選項 ~~~ $("#select option[value='dash'] ").attr("selected",true) ~~~ ## 禁用option ``` var departments=$("#department option").text(); $("#department option").each(function(i,e){ var department=$(e).text(); var reg=/\|\—/g; var res=department.match(reg); if (res==null) { $(e).css('font-weight','bold') $(e).attr('disabled',''); } }) ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看