第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機(jī)立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

以編程方式引導(dǎo)模態(tài)更改寬度

以編程方式引導(dǎo)模態(tài)更改寬度

犯罪嫌疑人X 2021-06-16 09:37:27
我需要通過 jquery 或 vanilla javascript 以編程方式更改模式的寬度。這是我所擁有的:<div class="modal fade" id="modal-popup" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">  <div class="modal-dialog modal-lg" role="document" id="modal_dialog">    <div class="modal-content">      <div class="modal-header">                <h3 class="modal-title pull-left" id="action_title">My Title</h3>        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>      </div>      <div class="modal-body text-center">My Body</div>      <div class="modal-footer">        <button type="button" class="btn btn-default" data-dismiss="modal">Close Window</button>      </div>    </div>  </div></div>我似乎無法使用它:function popUpModal(){     $('#modal-popup').modal('show');   $('.modal-content').css('width','99%');     console.log('it is firing!');  }我在這里錯過了什么嗎?
查看完整描述

1 回答

  • 1 回答
  • 0 關(guān)注
  • 111 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號