collapsible using mobole jquery 1.4.5 in sharepoint -


i'm having problem using jquery in sharepoint add collapsible header.

i importing jquery using script editor web part in sharepoint.

this causing problems when using more 1 tag.

my code is:

<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> 

the code surrounding headers is:

<div data-role="collapsible">   <h1>header</h1>   <p>content</p> </div> 

when add script tags jquery in script editor, page edit button no longer works. need remove script part in page maintenance work again. how can implement in sharepoint?


Comments

Popular posts from this blog

minify - Minimizing css files -

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -