I am getting an error after running jQuery autocomplete.
following is the ascx code :
<link href="../../JqueryWidget/jquery-ui.css" rel="stylesheet" type="text/css" />
<script src="../../JqueryWidget/jquery-ui.js" type="text/javascript"></script>
<script src="../../JqueryWidget/jquery-2.2.4.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function () {
console.log("working");
$('#TBMgmtRp').autocomplete({
source : ['choice 1','choice 2']
});
});
</script>
<div class="form-row">
<div class="form-column-two">
<div class="label nomandatory">
<span id="Span1">Management Representative :</span>
</div>
<div class="input-field">
<asp:TextBox ID="TBMgmtRp" runat="server" MaxLength="200"></asp:TextBox>
</div>
</div>
<div class="clear"></div>
</div>
There's no code related to the textbox in Code Behind.
What am I missing?