I'm really new in javasript and can't figure out why small test example doesn't working.
All I want is autofilling one of text boxes on NewForm.
There is my code:
Thanks for your time
All I want is autofilling one of text boxes on NewForm.
There is my code:
<script language="javascript" type="text/javascript" src="http://test.cotes-nsk.ru/secretary/SiteAssets/jquery-1.10.2.js"></script>
<script language="javascript" type="text/javascript" src="http://test.cotes-nsk.ru/secretary/SiteAssets/jquery.SPServices-2013.01.js"></script>
<script language="javascript" type="text/javascript">
$(document).ready(function() {
$().SPServices.SPAutocomplete({
sourceList: "{78763E22-1EBA-44E2-B691-CE6B3570264A}",
sourceColumn: "Theme",
columnName: "Theme",
ignoreCase: true,
numChars: 3,
slideDownSpeed: 1000,
debug: true
});
});
</script>
When I trying write something in that textbox nothing happened and I saw error at browser console (I use last version of Chrome):POST http://test.cotes-nsk.ru/secretary/_vti_bin/Lists.asmx 500 (Internal Server Error) jquery-1.10.2.js:8706
send jquery-1.10.2.js:8706
jQuery.extend.ajax jquery-1.10.2.js:8136
$.fn.SPServices jquery.SPServices-2013.01.js:1216
(anonymous function) jquery.SPServices-2013.01.js:3191
jQuery.event.dispatch jquery-1.10.2.js:5095
elemData.handle jquery-1.10.2.js:4766
What I can do to fix this?Thanks for your time