I'm trying to make webpart for autocompletion textbox using jQuery ui. after I created very simple webpart and deploy it to SP2013, each time I try to add it to page the page instantly crashes. This is the code:
<script src="_layouts/15/SearchPart/js/jquery-1.9.1.js"></script>
<script src="_layouts/15/SearchPart/js/jquery-ui-1.10.3.custom.min.js"></script>
<link href="_layouts/15/SearchPart/css/ui-lightness/jquery-ui-1.10.3.custom.css" rel="stylesheet" />
<script type="text/javascript">
$(document).ready(function () {
$("input#Searchbox").autocomplete({
source: ["c++", "java", "php", "coldfusion", "javascript", "asp", "ruby"],
});
});
</script>
<table><tr><td>
<asp:Textbox ID="Searchbox" runat="server"/>
</td></tr></table>
I know it could be very amateur question ,but I'm new with both SP2013 and jQuery ui.
Please help.