0

I need to link a jQuery file into SharePoint HTML file(not master page)

1
  • Upload Jquery file to Style Library at SharePoint at the root site
  • Open HTML file Via SharePoint designer
  • Add it as <script src="../Style Library/jquery-1.12.4.min.js"></script>
  • Or write src= to show Pick dialog to can select it's place.

enter image description here

Also, you can use the script from Google Hosted Libraries without upload, but this will require internet connection

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.