Newbie question. With Sharepoint Online, on a new List I'm modifying the Default New Form and I've added a Content Editor web part. I've linked the Content Editor to a script file that I've uploaded to the Site Assets folder. The script simply loads jQuery (also uploaded to the Site Assets folder), and logs a message to the console.

The script loads and works fine in the Design (Edit) Mode of the form, but in the actual input mode of the form, the script isn't loaded at all.

<script language="javascript" type="text/javascript" src="https://<mysite>.sharepoint.com/SiteAssets/js/jquery-1.12.0.min.js"></script>
<script language="javascript" type="text/javascript">
    $(document).ready(function() {    
        console.log("script loaded");     

Any ideas? Seems like I'm missing something basic.

I also checked this Q&A and made sure to include the language and type params.

1 Answer 1


Nevermind, it was in fact missing type="text/javascript" and works now.

  • 2
    Now mark your it as your own Answer.. so it is no longer listed as question. tnx Feb 13, 2016 at 10:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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