0

I am trying to view tool tip on Text box using Jquery scripts on a web form using Master Page. When I rum my code everything seems working fine,but in DOM of Google chrome browser,the resources folder i get the above error. I am not able to figure out where i am wrong.

<asp:TextBox runat="server" CssClass="UserName"></asp:TextBox>
<script type="text/javascript">
    $(function () {
        $(".UserName").tooltip();
    });
</script>

Thanks in Advance.

Yasmeen Ansari
  • 319
  • 2
  • 4
  • 15

1 Answers1

1

Make sure you correctly included jQuery UI

<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
Andrei Terecoasa
  • 561
  • 2
  • 7
  • 25
  • 1
    Then make sure the order is right. I mean http://stackoverflow.com/questions/7604980/trying-to-use-jquery-tooltip-plugin-object-has-no-method-tooltip – Andrei Terecoasa Aug 28 '13 at 07:45