Thursday, 27 March 2014

SCRIPT5009: 'NotifyScriptLoadedAndExecuteWaitingJobs' is undefined

SCRIPT5009: 'NotifyScriptLoadedAndExecuteWaitingJobs' is undefined
Add: <script type="text/javascript" src="/_layouts/15/sp.taxonomy.js"></script>

Make sure you are adding all below script references and with same order.
<script type="text/javascript" src="../Scripts/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="/_layouts/15/MicrosoftAjax.js"></script>
<script type="text/javascript" src="/_layouts/15/init.js"></script>
<script type="text/javascript" src="/_layouts/15/sp.runtime.js"></script>
<script type="text/javascript" src="/_layouts/15/sp.js"></script>
<script type="text/javascript" src="/_layouts/15/sp.taxonomy.js"></script>