0
我在使用Sharepoint中的jQuery添加可摺疊標題時遇到問題。我使用Sharepoint中的腳本編輯器Web部件導入jQuery,但是當我使用多個標記時,這會導致問題。在Sharepoint中添加可摺疊標題(jQuery)
我的代碼是:
<script type="text/javascript" src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
<script type="text/javascript" src="https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
我周圍我的頭用是
<div data-role="collapsible">
<h1>Header</h1>
<p>Content</p>
</div>
當我在腳本編輯器中添加腳本標籤jQuery的代碼,我的網頁編輯按鈕不再作品。我需要刪除頁面中的腳本部分,以便它再次運行。 我如何在Sharepoint中實現這一點?謝謝。