Auto Complete text box not working in Master's content page
<head runat="server"><br /> <title>AutoComplete Text Box using jQuery in ASP.NET</title><br /> <link href="jquery-ui.css" rel="stylesheet" type="text/css" /><br /> <script src="jquery.min.js" type="text/javascript"></script><br /> <script src="jquery-ui.min.js" type="text/javascript"></script><br /> <br /> <script type="text/javascript"><br /> $(document).ready(function() {<br /> SearchText();<br /> });<br /> function SearchText() {<br /> $("#txtEmpName").autocomplete({<br /> source: function(request, response) {<br /> $.ajax({<br /> type: "POST",<br /> contentType: "application/json; charset=utf-8",<br /> url: "Default.aspx/GetEmployeeName",<br /> data: "{'empName':'" + document.getElementById('txtEmpName').value + "'}",<br /> dataType: "json",<br /> success: function(data) {<br /> response(data.d);<br /> },<br /> error: function(result) {<br /> alert("No Match");<br /> }<br /> });<br /> }<br /> });<br /> }<br /> </script><br /><br /></head>