When I debug my project it creates a sharepoint app in the sharepoint site collection where i specify all the fields necessary and in between, I get the following errors.
$(document).ready(function () {
//Hide Genehmigerbox
$("[id$='Superior_upLevelDiv']").parent().parent().parent().parent().parent().parent().parent().parent().hide();
//Füge Genehmigerbutton hinzu
$("#SPFieldTextSuperior").append(newTable);
//overwrite entity function
_spBodyOnLoadFunctionNames.push("overwriteEntityFunction");
//add click
$("input[name$='phoneOwner']:eq(1)").bind("click", function () {
$("div[title='People Picker']:eq(0)").text($cUserLoginName);
$("a[title='Check Names']:eq(0)").click();
});
clickToLoad();
});
I'm thinking, it's something related with JQuery.
Any idea what the problem might be?
Thanks.
seems you are missing a reference to the jquery library. you can either download and add your own script path or reference a web base script source, e.g.
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
depending on the version you need you can find more here: https://developers.google.com/speed/libraries/devguide?hl=de#jquery
User contributions licensed under CC BY-SA 3.0