Click here to Skip to main content
15,881,898 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i have below code on my master page for autocomplte text box in master page in header tag
XML
<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
VB
<
<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
Posted
Updated 17-Sep-13 0:25am
v2

1 solution

 
Share this answer
 
Comments
Omprakash Kukana 17-Sep-13 6:38am    
still its not working

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900