i have below code on my master page for autocomplte text box in master page in header tag
<script src='<%=Page.ResolveUrl("~http://code.jquery.com/jquery-1.9.1.js")%>'></script>
<script src='<%=Page.ResolveUrl("~http://code.jquery.com/ui/1.10.3/jquery-ui.js") %>'></script>
<link rel="stylesheet" href='<%=Page.ResolveUrl("http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css")%>' />
<link rel="stylesheet" href="/resources/demos/style.css" />
<script>
$(function () {
var availableTags = [
"ActionScript",
"AppleScript",
"Asp",
"BASIC",
"C",
"C++",
"Clojure",
"COBOL",
"ColdFusion",
"Erlang",
"Fortran",
"Groovy",
"Haskell",
"Java",
"JavaScript",
"Lisp",
"Perl",
"PHP",
"Python",
"Ruby",
"Scala",
"Scheme"
];
$("#tags").autocomplete({
source: availableTags
});
});
</script>
and this is my body code
<
<asp:TextBox ID="tags" runat="server" Height="20px" style="padding-top: 0px"
Width="313px"></asp:TextBox>
asp:ImageButton ID="searchimg_btn" runat="server" Height="26px" Width="86px"
ImageUrl="~/Images/search.jpg" onclick="searchimg_btn_Click" />
this code is running well in simple aspx page but this is not working on master page